[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200603123234.10494-1-fam@euphon.net>
Date: Wed, 3 Jun 2020 13:32:34 +0100
From: fam@...hon.net
To: linux-kernel@...r.kernel.org
Cc: fam@...hon.net, famzheng@...zon.com,
Jiri Kosina <trivial@...nel.org>
Subject: [PATCH] perf: Fix opt help text for --no-bpf-event
From: Fam Zheng <famzheng@...zon.com>
The opt name was once inverted but the help text didn't reflect the
change.
Fixes: 71184c6ab7e60fd59d8dbc8fed62a1c753dc4934
Signed-off-by: Fam Zheng <famzheng@...zon.com>
---
tools/perf/builtin-record.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index e4efdbf1a81e..9b92072b0965 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -2368,7 +2368,7 @@ static struct option __record_options[] = {
OPT_BOOLEAN(0, "tail-synthesize", &record.opts.tail_synthesize,
"synthesize non-sample events at the end of output"),
OPT_BOOLEAN(0, "overwrite", &record.opts.overwrite, "use overwrite mode"),
- OPT_BOOLEAN(0, "no-bpf-event", &record.opts.no_bpf_event, "record bpf events"),
+ OPT_BOOLEAN(0, "no-bpf-event", &record.opts.no_bpf_event, "do not record bpf events"),
OPT_BOOLEAN(0, "strict-freq", &record.opts.strict_freq,
"Fail if the specified frequency can't be used"),
OPT_CALLBACK('F', "freq", &record.opts, "freq or 'max'",
--
2.17.1
Powered by blists - more mailing lists