summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFam Zheng <famzheng@amazon.com>2020-06-03 13:32:34 +0100
committerJiri Kosina <jkosina@suse.cz>2020-09-01 14:24:51 +0200
commitb784a88e523a7c1912fc75486ce8c029ee6fe523 (patch)
treeda15a902db88f338f09b01ae2f8b2417df6e868f /tools
parent53ed4cf6519def01ea49af7609ee585a7b2d38c3 (diff)
downloadlinux-b784a88e523a7c1912fc75486ce8c029ee6fe523.tar.gz
linux-b784a88e523a7c1912fc75486ce8c029ee6fe523.tar.bz2
linux-b784a88e523a7c1912fc75486ce8c029ee6fe523.zip
perf: Fix opt help text for --no-bpf-event
The opt name was once inverted but the help text didn't reflect the change. Fixes: 71184c6ab7e6 ("perf record: Replace option --bpf-event with --no-bpf-event") Signed-off-by: Fam Zheng <famzheng@amazon.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index f91352f847c0..772f1057647f 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -2452,7 +2452,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'",