From: "Steven Rostedt (Google)" <rostedt@goodmis.org>
Just a few clean ups for the --daemonize option that I plan on committing
upstream soon. This is based on:
https://lore.kernel.org/all/20230626091635.3002827-1-avidanborisov@gmail.com/
The first patch lets the daemon be killed with SIGTERM as well as with SIGINT,
as that's the default of "kill" without any option.
The second patch just renames a variable from "rc" to "ret" to be consistent
with the rest of the code.
Steven Rostedt (Google) (2):
trace-cmd record: Use SIGTERM as well for --daemonize
trace-cmd record: Cleanup - be consistent with return status variable
tracecmd/trace-record.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
From: "Steven Rostedt (Google)" <rostedt@goodmis.org> Just a few clean ups for the --daemonize option that I plan on committing upstream soon. This is based on: https://lore.kernel.org/all/20230626091635.3002827-1-avidanborisov@gmail.com/ The first patch lets the daemon be killed with SIGTERM as well as with SIGINT, as that's the default of "kill" without any option. The second patch just renames a variable from "rc" to "ret" to be consistent with the rest of the code. Steven Rostedt (Google) (2): trace-cmd record: Use SIGTERM as well for --daemonize trace-cmd record: Cleanup - be consistent with return status variable tracecmd/trace-record.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)