Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e096753 authored by Mike Galbraith's avatar Mike Galbraith Committed by Ingo Molnar
Browse files

perf_counter tools: Document '--' option parsing terminator



Signed-off-by: default avatarMike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent de04687f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
-----------
+1 −0
Original line number Diff line number Diff line
@@ -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
-----------
+2 −1
Original line number Diff line number Diff line
@@ -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
};

+1 −0
Original line number Diff line number Diff line
@@ -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
};