perf trace: update usage
authorTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 10 Nov 2010 14:20:45 +0000 (08:20 -0600)
committerTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 10 Nov 2010 14:20:45 +0000 (08:20 -0600)
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>
tools/perf/builtin-trace.c

index 0483e28fa60dab0fce9cac3bafc2fb342d9d9c86..86cfe3800e6bf5580718fd3df3c3788f9edbda31 100644 (file)
@@ -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
 };