Skip to content

Commit a060c1f

Browse files
stkidacmel
authored andcommitted
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. Committer testing: $ perf record -h bpf Usage: perf record [<options>] [<command>] or: perf record [<options>] -- <command> [<options>] --clang-opt <clang options> options passed to clang when compiling BPF scriptlets --clang-path <clang path> clang binary to use for compiling BPF scriptlets --no-bpf-event do not record bpf events $ Fixes: 71184c6 ("perf record: Replace option --bpf-event with --no-bpf-event") Signed-off-by: Wei Li <[email protected]> Acked-by: Song Liu <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Hanjun Guo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Li Bin <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 20befbb commit a060c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/builtin-record.c

+1-1
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)