From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> 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(-) -- 2.42.0