Skip to content

Commit 7e55055

Browse files
committed
perf trace: update usage
Update usage to reflect the different perf trace variants. Signed-off-by: Tom Zanussi <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent d3c4f79 commit 7e55055

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/perf/builtin-trace.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,11 @@ static int has_required_arg(char *script_path)
570570
}
571571

572572
static const char * const trace_usage[] = {
573-
"perf trace [<options>] <command>",
573+
"perf trace [<options>]",
574+
"perf trace [<options>] record <script> [<record-options>] <command>",
575+
"perf trace [<options>] report <script> [script-args]",
576+
"perf trace [<options>] <script> [<record-options>] <command>",
577+
"perf trace [<options>] <top-script> [script-args]",
574578
NULL
575579
};
576580

0 commit comments

Comments
 (0)