Skip to contentSkip to conversation

perf record: Correct the help info of option "--no-bpf-event"

PATCH Applied Wei Li 3 participants 3 messages Aug 19, 2020 – Aug 21, 2020 perf events

lore
Share & tools
lore

Wei Li

author
#0 lore raw

PATCH 1/1 perf record: Correct the help info of option "--no-bpf-event"

The help info of option "--no-bpf-event" is wrongly described as "record bpf events", correct it.

Fixes 71184c6ab7e6 ("perf record: Replace option --bpf-event with --no-bpf-event")
---
 tools/perf/builtin-record.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/builtin-record.c +1 -1
index f91352f847c0..772f1057647f 100644
@@ -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'",
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Wei Li

The help info of option "--no-bpf-event" is wrongly described as "record bpf events", correct it.

Fixes 71184c6ab7e6 ("perf record: Replace option --bpf-event with --no-bpf-event")

Thanks for the fix!

maintainer Applied
#2 lore raw

Em Wed, Aug 19, 2020 at 03:38:30PM +0000, Song Liu escreveu:

Quoted 7 lines
Quoted 7 lines · Wei Li

The help info of option "--no-bpf-event" is wrongly described as "record bpf events", correct it.

Quoted 6 lines
Quoted 2 lines
Fixes 71184c6ab7e6 ("perf record: Replace option --bpf-event with --no-bpf-event")

Thanks for the fix!

Thanks, applied.

- Arnaldo