diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-03-29 22:14:34 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-03-29 22:14:34 -0400 |
commit | 53c63390e822d24a2aa21ea8eca3d101658e361a (patch) | |
tree | ed635f1ff4f84bee68039965ca826a381881565d /cpu.h | |
parent | 59b432c2f79086082bb0e91cb8c0eaa634edd449 (diff) |
trace-cmd: Terminate trace-cmd listen nicely
When killing the trace-cmd listen, it will kill all the listeners
and leave the temporary per CPU data files around.
This patch adds handlers (also replacing signal() with sigaction())
to allow a Ctrl^C or kill pid, to shutdown the recording nicely
and create the final file before exiting.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'cpu.h')
0 files changed, 0 insertions, 0 deletions