uber-archive/pyflame

Profile until the profiled process is terminated?

kthkaya opened this issue · 2 comments

Hello,

Is there an option to profile a linux process until it shuts down (i.e. receives a SIGTERM, SIGHUP or any signal that pyflame prefers)?

Thanks!

If not supported, I could workaround by starting pyflame with a large enough -s argument, then send a quit/terminate signal to the pyflame process itself.

Would sending a quit/term signal to pyflame while profiling cripple the output or cause any side effects?

No help.