aboutsummaryrefslogtreecommitdiffstats
path: root/trace-usage.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-05-13 21:33:51 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-05-13 21:33:51 -0400
commit30ee2ad72bfa357751a71c315d167aa8bc93b834 (patch)
tree99a5c78b6d409254180ddf11e3f35d905507a1ab /trace-usage.c
parentae5d8c37281885524ec65038e43aed43b732b03a (diff)
downloadtrace-cmd-30ee2ad72bfa357751a71c315d167aa8bc93b834.tar.gz
trace-cmd: Add trigger option '-R' to trace-cmd record/start
Add the '-R' option to set triggers to events. It acts similar to the -f option for filters. 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 b61d66ce..947f0c00 100644
--- a/trace-usage.c
+++ b/trace-usage.c
@@ -22,6 +22,7 @@ static struct usage_help usage_help[] = {
" [-m max]\n"
" -e run command with event enabled\n"
" -f filter for previous -e event\n"
+ " -R trigger for previous -e event\n"
" -p run command with plugin enabled\n"
" -F filter only on the given process\n"
" -P trace the given pid like -F for the command\n"