Closed albertsgarde closed 12 months ago
flamegraph just orchestrates a performance recording tool -- I'm guessing it would be perf
on WSL? -- and pass the output to the inferno crate. In this case, it looks like flamegraph itself did everything it was asked to do, but one of these components did something surprising?
I guess so. Problem is I have no idea where to even get started debugging this. Any links or search terms I could use? I've tried running perf by itself, but I've not been able to get anything useful from the output
You could file an issue against inferno and see if the maintainer has any useful tips? Can also run cargo flamegraph
with -v
to see the exact command that it runs to instrument your workload.
Thanks. I'll try that.
I can succesfully run
cargo flamegraph
in WSL, but the resulting flamegraph looks like the image below and hovering over the functions shows that each only has 1 sample. This is inconsistent with the output to the terminal which is(the
Ticks per second
is just output from the program)