perf record: Correct the help info of option "--no-bpf-event"
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")
Signed-off-by Wei Li <[email protected]>
--- tools/perf/builtin-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/builtin-record.c +1 -1
@@ -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
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")Signed-off-by Wei Li <[email protected]>
Thanks for the fix!
Acked-by Song Liu <[email protected]>
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")Signed-off-by Wei Li <[email protected]>Thanks for the fix!
Acked-by Song Liu <[email protected]>
Thanks, applied.
- Arnaldo