janestreet/magic-trace

Kernel tracing demo.c has incorrect stacks

cgaebel opened this issue · 0 comments

main is highlighted, at the very left. It should be at the top of the screen:

Screen Shot 2022-04-10 at 7 32 05 PM

Here's the trace that generated that image:

trace.ftf.zip

To reproduce, run ./demo/demo.c in one terminal, and sudo _build/default/bin/magic_trace_bin.exe attach -pid $(pidof demo) -snapshot-size 128K -trace-include-k in another.