Adds a --ignore-status flag which ignores perf's exit code.
why?
I was trying to use flamegraph on a failing test and flamegraph would fail with "failed to sample program" even though perf was able to sample the program because perf would return the same exit code as the program it was running (a failing test), this confused flamegraph and it though that perf was not able to sample the program.
Adds a
--ignore-status
flag which ignores perf's exit code.why?
I was trying to use flamegraph on a failing test and flamegraph would fail with "failed to sample program" even though perf was able to sample the program because perf would return the same exit code as the program it was running (a failing test), this confused flamegraph and it though that perf was not able to sample the program.