[PATCH 0/2] trace-cmd: Cleanups for --daemonize option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

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@xxxxxxxxx/

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(-)

-- 
2.42.0





[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux