diff options
author | Mike Galbraith | 2009-05-28 16:25:34 +0200 |
---|---|---|
committer | Ingo Molnar | 2009-05-29 00:02:33 +0200 |
commit | 9e09675366695405412b709e91709c1ce2925c90 (patch) | |
tree | cc32e43bfd0ca878825be04e571d08f330d6ff17 /Documentation | |
parent | de04687f868bf98e4ef644af91ed85a3bc212ce8 (diff) |
perf_counter tools: Document '--' option parsing terminator
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
4 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/perf_counter/Documentation/perf-record.txt b/Documentation/perf_counter/Documentation/perf-record.txt index 353db1bb98ab..a93d2ec6176a 100644 --- a/Documentation/perf_counter/Documentation/perf-record.txt +++ b/Documentation/perf_counter/Documentation/perf-record.txt @@ -9,6 +9,7 @@ SYNOPSIS -------- [verse] 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> +'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>] DESCRIPTION ----------- diff --git a/Documentation/perf_counter/Documentation/perf-stat.txt b/Documentation/perf_counter/Documentation/perf-stat.txt index 7fcab271e570..828c59ff5f5d 100644 --- a/Documentation/perf_counter/Documentation/perf-stat.txt +++ b/Documentation/perf_counter/Documentation/perf-stat.txt @@ -9,6 +9,7 @@ SYNOPSIS -------- [verse] 'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> +'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>] DESCRIPTION ----------- diff --git a/Documentation/perf_counter/builtin-record.c b/Documentation/perf_counter/builtin-record.c index 4a068664a32a..23d1224ce98c 100644 --- a/Documentation/perf_counter/builtin-record.c +++ b/Documentation/perf_counter/builtin-record.c @@ -397,7 +397,8 @@ static int __cmd_record(int argc, const char **argv) } static const char * const record_usage[] = { - "perf record [<options>] <command>", + "perf record [<options>] [<command>]", + "perf record [<options>] -- <command> [<options>]", NULL }; diff --git a/Documentation/perf_counter/builtin-stat.c b/Documentation/perf_counter/builtin-stat.c index ce661e2fa8dd..ac14086d9a70 100644 --- a/Documentation/perf_counter/builtin-stat.c +++ b/Documentation/perf_counter/builtin-stat.c @@ -212,6 +212,7 @@ static void skip_signal(int signo) static const char * const stat_usage[] = { "perf stat [<options>] <command>", + "perf stat [<options>] -- <command> [<options>]", NULL }; |