提交 9e096753 编写于 作者: M Mike Galbraith 提交者: Ingo Molnar

perf_counter tools: Document '--' option parsing terminator

Signed-off-by: NMike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 de04687f
...@@ -9,6 +9,7 @@ SYNOPSIS ...@@ -9,6 +9,7 @@ SYNOPSIS
-------- --------
[verse] [verse]
'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
DESCRIPTION DESCRIPTION
----------- -----------
......
...@@ -9,6 +9,7 @@ SYNOPSIS ...@@ -9,6 +9,7 @@ SYNOPSIS
-------- --------
[verse] [verse]
'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> 'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
DESCRIPTION DESCRIPTION
----------- -----------
......
...@@ -397,7 +397,8 @@ static int __cmd_record(int argc, const char **argv) ...@@ -397,7 +397,8 @@ static int __cmd_record(int argc, const char **argv)
} }
static const char * const record_usage[] = { static const char * const record_usage[] = {
"perf record [<options>] <command>", "perf record [<options>] [<command>]",
"perf record [<options>] -- <command> [<options>]",
NULL NULL
}; };
......
...@@ -212,6 +212,7 @@ static void skip_signal(int signo) ...@@ -212,6 +212,7 @@ static void skip_signal(int signo)
static const char * const stat_usage[] = { static const char * const stat_usage[] = {
"perf stat [<options>] <command>", "perf stat [<options>] <command>",
"perf stat [<options>] -- <command> [<options>]",
NULL NULL
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册