Skip to content

Commit b784a88

Browse files
Fam ZhengJiri Kosina
authored andcommitted
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: 71184c6 ("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>
1 parent 53ed4cf commit b784a88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/builtin-record.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,7 @@ static struct option __record_options[] = {
24522452
OPT_BOOLEAN(0, "tail-synthesize", &record.opts.tail_synthesize,
24532453
"synthesize non-sample events at the end of output"),
24542454
OPT_BOOLEAN(0, "overwrite", &record.opts.overwrite, "use overwrite mode"),
2455-
OPT_BOOLEAN(0, "no-bpf-event", &record.opts.no_bpf_event, "record bpf events"),
2455+
OPT_BOOLEAN(0, "no-bpf-event", &record.opts.no_bpf_event, "do not record bpf events"),
24562456
OPT_BOOLEAN(0, "strict-freq", &record.opts.strict_freq,
24572457
"Fail if the specified frequency can't be used"),
24582458
OPT_CALLBACK('F', "freq", &record.opts, "freq or 'max'",

0 commit comments

Comments
 (0)