[PATCH 0/2] trace-cmd: Add more ways to view options

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

 



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

When testing the func-norepeats patch series from Yordan, I wanted a way
to see what options were enabled for all tracers without having to
enable a tracer first.

Change trace-cmd list to look at the options in the options directory
instead of the trace_options file, as the trace_options file only shows
the options for the current tracer and global options. The options
directory shows all options since Linux 4.4.

Add -o to stat to display the options, as stat lets you see instances
where as list does not.

Steven Rostedt (VMware) (3):
  trace-cmd list: Have -o read the options directory instead of file
  trace-cmd stat: Update the usage and man pages
  trace-cmd stat: Add -o option to show options

 Documentation/trace-cmd/trace-cmd-stat.1.txt | 16 +++++-
 tracecmd/include/trace-local.h               |  1 +
 tracecmd/trace-list.c                        | 58 ++++++++++++++++++--
 tracecmd/trace-stat.c                        | 14 ++++-
 tracecmd/trace-usage.c                       |  5 +-
 5 files changed, 84 insertions(+), 10 deletions(-)

-- 
2.29.2




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

  Powered by Linux