You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- This feature is not used separate from the mem_profile
- All the unwind logic is now gated by mem_profile
Signed-off-by: Doru Blânzeanu <dblnz@pm.me>
Copy file name to clipboardExpand all lines: docs/hyperlight-metrics-logs-and-traces.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,12 +94,11 @@ Once the container or the exe is running, the trace output can be viewed in the
94
94
95
95
## Guest Tracing, Unwinding, and Memory Profiling
96
96
97
-
Hyperlight provides advanced observability features for guest code running inside micro virtual machines. You can enable guest-side tracing, stack unwinding, and memory profiling using the `trace_guest`, `unwind_guest`, and `mem_profile` features. This section explains how to build, run, and inspect guest traces.
97
+
Hyperlight provides advanced observability features for guest code running inside micro virtual machines. You can enable guest-side tracing, stack unwinding, and memory profiling using the `trace_guest` and `mem_profile` features. This section explains how to build, run, and inspect guest traces.
98
98
99
99
The following features are available for guest tracing:
100
100
-`trace_guest`: Enables tracing for guest code, capturing function calls and execution time.
101
-
-`unwind_guest`: Enables stack unwinding for guest code, allowing you to capture stack traces.
102
-
-`mem_profile`: Enables memory profiling for guest code, capturing memory allocations and usage.
101
+
-`mem_profile`: Enables memory profiling for guest code with stack uwinding, capturing memory allocations and usage.
103
102
104
103
### Building a Guest with Tracing Support
105
104
@@ -140,7 +139,7 @@ This command will list the stack frames and tracing information captured during
140
139
cargo run -p trace_dump ./src/tests/rust_guests/bin/debug/simpleguest ./trace/<UUID>.trace list_frames
141
140
```
142
141
143
-
You can use additional features such as `unwind_guest` and `mem_profile` by enabling them during the build and run steps.
142
+
You can use the `mem_profile` additional feature by enabling them during the build and run steps.
144
143
145
144
> **Note:** Make sure to follow the build and run steps in order, and ensure that the guest binaries are up to date before running the host example.
0 commit comments