flamegraph-rs / flamegraph

Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failed to sample program on ubuntu

charlesxsh opened this issue · comments

flamegraph -o xxxxx.svg -- /some/binary

After executed this command, the perf.data is generated but no svg file.


.... (normal stdout)
[ perf record: Woken up 4 times to write data ]
[ perf record: Captured and wrote 1.242 MB perf.data (75 samples) ]
failed to sample program

Does anyone know what would be the possible reason for "failed to sample program" or reason for no svg file?

No. Try searching for this problem with perf (which flamegraph is using to generate the profile).