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>
--------
[verse]
'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
+'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
DESCRIPTION
-----------
--------
[verse]
'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
+'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
DESCRIPTION
-----------
}
static const char * const record_usage[] = {
- "perf record [<options>] <command>",
+ "perf record [<options>] [<command>]",
+ "perf record [<options>] -- <command> [<options>]",
NULL
};
static const char * const stat_usage[] = {
"perf stat [<options>] <command>",
+ "perf stat [<options>] -- <command> [<options>]",
NULL
};