summaryrefslogtreecommitdiffstats
path: root/tools/perf
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/perf
parentd3c4f798ac4b7337b417467f36f4b2e6dcb49240 (diff)
downloadop-kernel-dev-7e55055e5bb00085051ca59c570c83a820e1e0ee.zip
op-kernel-dev-7e55055e5bb00085051ca59c570c83a820e1e0ee.tar.gz
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/perf')
-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 0483e28..86cfe38 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
};
OpenPOWER on IntegriCloud