aboutsummaryrefslogtreecommitdiffstats
path: root/trace-usage.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-01-07 21:03:15 -0500
committerSteven Rostedt <rostedt@goodmis.org>2015-01-07 21:14:44 -0500
commite419121532f0c258f6c738a73c0fbb9baa6dbee7 (patch)
tree6759a3f937656b36eb42c85e8bc44027ceadfc94 /trace-usage.c
parentaf8743a625fb808f43e7d0426f01b589bcbda006 (diff)
downloadtrace-cmd-e419121532f0c258f6c738a73c0fbb9baa6dbee7.tar.gz
trace-cmd record: Add -C option to set clock
Add -C <clock> to be able to change the clock source of tracing. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-usage.c')
-rw-r--r--trace-usage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/trace-usage.c b/trace-usage.c
index a6bf6927..e7166f8e 100644
--- a/trace-usage.c
+++ b/trace-usage.c
@@ -19,7 +19,7 @@ static struct usage_help usage_help[] = {
" %s record [-v][-e event [-f filter]][-p plugin][-F][-d][-D][-o file] \\\n"
" [-s usecs][-O option ][-l func][-g func][-n func] \\\n"
" [-P pid][-N host:port][-t][-r prio][-b size][-B buf][command ...]\n"
- " [-m max]\n"
+ " [-m max][-C clock]\n"
" -e run command with event enabled\n"
" -f filter for previous -e event\n"
" -R trigger for previous -e event\n"
@@ -27,6 +27,7 @@ static struct usage_help usage_help[] = {
" -F filter only on the given process\n"
" -P trace the given pid like -F for the command\n"
" -c also trace the childen of -F\n"
+ " -C set the trace clock\n"
" -T do a stacktrace on all events\n"
" -l filter function name\n"
" -g set graph function\n"