mbox series

[0/4] trace-cmd: Add ways to read more tracefs files

Message ID 20231229031907.69432-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series trace-cmd: Add ways to read more tracefs files | expand

Message

Steven Rostedt Dec. 29, 2023, 3:16 a.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

Update trace-cmd show and stat to display more tracefs information:

 trace-cmd show --buffer-subbuf-size
 trace-cmd show --buffer_percent

And use tracefs_instance_file_read() instead of open coding it in
trace-cmd stat.

Steven Rostedt (Google) (4):
  trace-cmd show: Re-arrange the enum long option values
  trace-cmd show: Add --buffer-subbuf-size option
  trace-cmd show: Add option to read buffer_percent
  trace-cmd stat: Use tracefs_instance_file_read()

 Documentation/trace-cmd/trace-cmd-show.1.txt | 13 ++++++
 tracecmd/trace-show.c                        | 32 +++++++++-----
 tracecmd/trace-stat.c                        | 45 ++++----------------
 tracecmd/trace-usage.c                       |  2 +
 4 files changed, 45 insertions(+), 47 deletions(-)