failed to sample program on ubuntu
charlesxsh opened this issue · comments
Shihao Xia commented
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?
Dirkjan Ochtman commented
No. Try searching for this problem with perf
(which flamegraph is using to generate the profile).