summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2010-11-10 08:20:45 -0600
committerTom Zanussi <tom.zanussi@linux.intel.com>2010-11-10 08:20:45 -0600
commit7e55055e5bb00085051ca59c570c83a820e1e0ee (patch)
tree20684d0f272e2999c597cc8376592a75b297fa37 /tools
parentd3c4f798ac4b7337b417467f36f4b2e6dcb49240 (diff)
downloadlinux-stable-7e55055e5bb00085051ca59c570c83a820e1e0ee.tar.gz
linux-stable-7e55055e5bb00085051ca59c570c83a820e1e0ee.tar.bz2
linux-stable-7e55055e5bb00085051ca59c570c83a820e1e0ee.zip
perf trace: update usage
Update usage to reflect the different perf trace variants. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Acked-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-trace.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 0483e28fa60d..86cfe3800e6b 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -570,7 +570,11 @@ out:
}
static const char * const trace_usage[] = {
- "perf trace [<options>] <command>",
+ "perf trace [<options>]",
+ "perf trace [<options>] record <script> [<record-options>] <command>",
+ "perf trace [<options>] report <script> [script-args]",
+ "perf trace [<options>] <script> [<record-options>] <command>",
+ "perf trace [<options>] <top-script> [script-args]",
NULL
};