aboutsummaryrefslogtreecommitdiffstats
path: root/trace-usage.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-01-27 16:22:17 -0500
committerSteven Rostedt <rostedt@goodmis.org>2015-02-05 09:51:39 -0500
commit86d7aed2e03516e6164f7f3fe392eb4236e64a15 (patch)
tree24493dc6baba927062ffeffeab5ffcfb48802e7f /trace-usage.c
parent84128503a78207019bc8463f9662c640eef2d90f (diff)
downloadtrace-cmd-86d7aed2e03516e6164f7f3fe392eb4236e64a15.tar.gz
trace-cmd: Add saving of uname, and option --uname to report
Knowing what kernel a trace was executed on can be valuable information. Record uname in the TRACECMD_OPTION_UNAME, and have trace-cmd report retrieve it via the --uname option. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-usage.c')
-rw-r--r--trace-usage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-usage.c b/trace-usage.c
index ed2baece..c518eda4 100644
--- a/trace-usage.c
+++ b/trace-usage.c
@@ -144,6 +144,7 @@ static struct usage_help usage_help[] = {
" -O plugin option -O [plugin:]var[=val]\n"
" --check-events return whether all event formats can be parsed\n"
" --stat - show the buffer stats that were reported at the end of the record.\n"
+ " --uname - show uname of the record, if it was saved\n"
" --profile report stats on where tasks are blocked and such\n"
},