All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-trace-devel@vger.kernel.org
Cc: Avidan Borisov <avidanborisov@gmail.com>,
	Ross Zwisler <zwisler@google.com>,
	"Steven Rostedt (Google)" <rostedt@goodmis.org>
Subject: [PATCH 0/2] trace-cmd: Cleanups for --daemonize option
Date: Tue, 17 Oct 2023 19:20:27 -0400	[thread overview]
Message-ID: <20231017233503.2205514-1-rostedt@goodmis.org> (raw)

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

-- 
2.42.0


             reply	other threads:[~2023-10-17 23:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-17 23:20 Steven Rostedt [this message]
2023-10-17 23:20 ` [PATCH 1/2] trace-cmd record: Use SIGTERM as well for --daemonize Steven Rostedt
2023-10-17 23:20 ` [PATCH 2/2] trace-cmd record: Cleanup - be consistent with return status variable Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231017233503.2205514-1-rostedt@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=avidanborisov@gmail.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=zwisler@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.