diff options
author | Mike Galbraith <efault@gmx.de> | 2009-05-28 10:25:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-28 18:02:33 -0400 |
commit | 9e09675366695405412b709e91709c1ce2925c90 (patch) | |
tree | cc32e43bfd0ca878825be04e571d08f330d6ff17 /Documentation/perf_counter | |
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/perf_counter')
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 353db1bb98a..a93d2ec6176 100644 --- a/Documentation/perf_counter/Documentation/perf-record.txt +++ b/Documentation/perf_counter/Documentation/perf-record.txt | |||
@@ -9,6 +9,7 @@ SYNOPSIS | |||
9 | -------- | 9 | -------- |
10 | [verse] | 10 | [verse] |
11 | 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> | 11 | 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> |
12 | 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>] | ||
12 | 13 | ||
13 | DESCRIPTION | 14 | DESCRIPTION |
14 | ----------- | 15 | ----------- |
diff --git a/Documentation/perf_counter/Documentation/perf-stat.txt b/Documentation/perf_counter/Documentation/perf-stat.txt index 7fcab271e57..828c59ff5f5 100644 --- a/Documentation/perf_counter/Documentation/perf-stat.txt +++ b/Documentation/perf_counter/Documentation/perf-stat.txt | |||
@@ -9,6 +9,7 @@ SYNOPSIS | |||
9 | -------- | 9 | -------- |
10 | [verse] | 10 | [verse] |
11 | 'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> | 11 | 'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> |
12 | 'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>] | ||
12 | 13 | ||
13 | DESCRIPTION | 14 | DESCRIPTION |
14 | ----------- | 15 | ----------- |
diff --git a/Documentation/perf_counter/builtin-record.c b/Documentation/perf_counter/builtin-record.c index 4a068664a32..23d1224ce98 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) | |||
397 | } | 397 | } |
398 | 398 | ||
399 | static const char * const record_usage[] = { | 399 | static const char * const record_usage[] = { |
400 | "perf record [<options>] <command>", | 400 | "perf record [<options>] [<command>]", |
401 | "perf record [<options>] -- <command> [<options>]", | ||
401 | NULL | 402 | NULL |
402 | }; | 403 | }; |
403 | 404 | ||
diff --git a/Documentation/perf_counter/builtin-stat.c b/Documentation/perf_counter/builtin-stat.c index ce661e2fa8d..ac14086d9a7 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) | |||
212 | 212 | ||
213 | static const char * const stat_usage[] = { | 213 | static const char * const stat_usage[] = { |
214 | "perf stat [<options>] <command>", | 214 | "perf stat [<options>] <command>", |
215 | "perf stat [<options>] -- <command> [<options>]", | ||
215 | NULL | 216 | NULL |
216 | }; | 217 | }; |
217 | 218 | ||