diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-31 14:52:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-31 14:52:24 -0500 |
commit | 9d6e323c687c7b94c703c9b0900a74e5d262d462 (patch) | |
tree | 82b6dfff0fa732cfabde42001482aad144bb3945 /tools/perf/builtin-trace.c | |
parent | b21c07040304b8716e38a4a0e4ab60f386357e61 (diff) | |
parent | 4efb5290ae187514bd31af8c2d7755e175245e19 (diff) |
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
perf kmem: Fix statistics typo
kprobes: Fix distinct type warning
perf: Rename perf_event_hw_event in design document
perf tools: Add missing header files to LIB_H Makefile variable
perf record: We should fork only if a program was specified to run
perf diff: Fix usage array, it must end with a NULL entry
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index e2285e28720f..574a215e800b 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -512,7 +512,7 @@ static char *get_script_path(const char *script_root, const char *suffix) | |||
512 | return path; | 512 | return path; |
513 | } | 513 | } |
514 | 514 | ||
515 | static const char * const annotate_usage[] = { | 515 | static const char * const trace_usage[] = { |
516 | "perf trace [<options>] <command>", | 516 | "perf trace [<options>] <command>", |
517 | NULL | 517 | NULL |
518 | }; | 518 | }; |
@@ -581,7 +581,7 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used) | |||
581 | 581 | ||
582 | setup_scripting(); | 582 | setup_scripting(); |
583 | 583 | ||
584 | argc = parse_options(argc, argv, options, annotate_usage, | 584 | argc = parse_options(argc, argv, options, trace_usage, |
585 | PARSE_OPT_STOP_AT_NON_OPTION); | 585 | PARSE_OPT_STOP_AT_NON_OPTION); |
586 | 586 | ||
587 | if (symbol__init() < 0) | 587 | if (symbol__init() < 0) |