commit | 3ab8dcc7dee835a0a52ad61219024b48872109b4 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Mon Sep 12 13:26:30 2016 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Sun Oct 30 19:46:49 2016 -0400 |
tree | 9c1ae077dd66faa1fe3f7a6b2fa164ea86e3dbcd | |
parent | c3149d9b4cc399ab6ad4da953593c9a16b38ad72 [diff] |
trace-cmd listen: Do not clean up in signal handler Doing a memmove in the signal handler is racy with the updates of the main process. Especially if it does a realloc, and the memory moves. Do the clean up from the main process instead checking for EINTR in errno. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>