Skip to content

trace-cmd record: Improvements to --daemonize option

[email protected] linux-trace-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Replaced all instances of "he" with "the user".
- Fixed the issue with the break statement in the switch case.
- Added a usage example of --daemonize to the man page.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4trace-cmd record: Add --daemonizeDocumentation/trace-cmd/trace-cmd-record.1.txt tracecmd/trace-record.c tracecmd/trace-usage.c+131 -22 replies
2/4trace-cmd: export pidfile functions from trace-listen.ctracecmd/include/trace-local.h tracecmd/trace-listen.c+18 -180 replies
3/4trace-cmd record: Create a pidfile when using --daemonizeDocumentation/trace-cmd/trace-cmd-record.1.txt tracecmd/trace-record.c tracecmd/trace-usage.c+17 -10 replies
4/4trace-cmd record: Add --daemonize example to man pageDocumentation/trace-cmd/trace-cmd-record.1.txt+29 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] trace-cmd record: Improvements to --daemonize option

From: Avidan Borisov <[email protected]>

Hi Steven,

This is the second version of my patch series for adding the --daemonize option to trace-cmd record, incorporating your feedback.

Changes since v1:
- Replaced all instances of "he" with "the user".
- Fixed the issue with the break statement in the switch case.
- Added a usage example of --daemonize to the man page.

Let me know if there are any further changes required.

Thanks,
Avidan

Avidan Borisov (4):
trace-cmd record: Add --daemonize
trace-cmd: export pidfile functions from trace-listen.c trace-cmd record: Create a pidfile when using --daemonize trace-cmd record: Add --daemonize example to man page

 .../trace-cmd/trace-cmd-record.1.txt          |  33 ++++
 tracecmd/include/trace-local.h                |   4 +
 tracecmd/trace-listen.c                       |  32 ++--
 tracecmd/trace-record.c                       | 142 +++++++++++++++++-
 tracecmd/trace-usage.c                        |   3 +
 5 files changed, 194 insertions(+), 20 deletions(-)
Signature · 1 line
2.25.1