mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
de04687f86
commit
9e09675366
4 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
-----------
|
||||
|
|
|
@ -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
|
||||
-----------
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue