@@ -7,7 +7,7 @@ trace-cmd-stat - show the status of the tracing (ftrace) system
SYNOPSIS
--------
-*trace-cmd stat*
+*trace-cmd stat* ['OPTIONS']
DESCRIPTION
-----------
@@ -45,6 +45,16 @@ system. The status that it shows is:
*Error log:* Dump the content of ftrace error_log file.
+OPTIONS
+-------
+*-B* 'buffer-name'::
+ Display the status of a given buffer instance. May be specified more than once
+ to display the status of multiple instances.
+
+*-t*::
+ If *-B* is also specified, show the status of the top level tracing directory
+ as well as the instance(s).
+
SEE ALSO
--------
trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1),
@@ -875,7 +875,7 @@ void trace_stat (int argc, char **argv)
init_top_instance();
for (;;) {
- c = getopt(argc-1, argv+1, "tB:");
+ c = getopt(argc-1, argv+1, "htB:");
if (c == -1)
break;
switch (c) {
@@ -258,7 +258,9 @@ static struct usage_help usage_help[] = {
{
"stat",
"show the status of the running tracing (ftrace) system",
- " %s stat"
+ " %s stat [-B buf][-t]"
+ " -B show the status of a instance buffer\n"
+ " -t show the top level status along with buffer specified by -B\n"
},
{
"split",