flamegraph icon indicating copy to clipboard operation
flamegraph copied to clipboard

Detaching from programs

Open l4l opened this issue 6 years ago • 0 comments

I encountered an issue, that current implementation doesn't make an svg file (only perf.data) for programs that are finished with non zero status. My case is the following: I'm trying to sample a program, that never ends by itself (e.g only by kill, without gracious shutdown). Though, perf.data itself is ok, and stackcollapse-perf.pl && flamegraph.pl produce expected result. I think as a quick workaround for that problem might be just skipping exiting at the point above, and just leave a warning/error; and for a proper solution it's better to detach from a program being traced (I guess that possible, right?)

l4l avatar Mar 13 '19 08:03 l4l