aboutsummaryrefslogtreecommitdiffstats
path: root/trace-usage.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-01-29 15:11:11 -0500
committerSteven Rostedt <rostedt@goodmis.org>2015-02-05 09:51:40 -0500
commitb5dca1b96f27ebd04519f891831e6b091d3107fa (patch)
tree8bce3d6ca762391093306e5b9e7821cd9fd70300 /trace-usage.c
parentbcb6603cd144dd368377f321b827d9794f83c390 (diff)
downloadtrace-cmd-b5dca1b96f27ebd04519f891831e6b091d3107fa.tar.gz
trace-cmd profile: Add user specificed hooking of events together
Add hooks to let users define their own matching events for profiling. Currently this only really works for 'trace-cmd profile'. But if used for trace-cmd record, it will start the tracing. trace-cmd report still needs this added. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-usage.c')
-rw-r--r--trace-usage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-usage.c b/trace-usage.c
index c518eda4..1ee7e591 100644
--- a/trace-usage.c
+++ b/trace-usage.c
@@ -158,7 +158,9 @@ static struct usage_help usage_help[] = {
"profile",
"Start profiling and read the output directly",
" %s profile [-e event][-p plugin][-d][-O option ][-P pid][-S][-o output]\n"
+ " [-H [start_system:]start_event,start_match[,pid]/[end_system:]end_event,end_match[,flags]\n\n"
" Uses same options as record --profile.\n"
+ " -H Allows users to hook two events together for timings\n"
},
{
"hist",