]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
perf: Fix opt help text for --no-bpf-event
authorFam Zheng <famzheng@amazon.com>
Wed, 3 Jun 2020 12:32:34 +0000 (13:32 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 1 Sep 2020 12:24:51 +0000 (14:24 +0200)
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>
tools/perf/builtin-record.c

index f91352f847c08fcdbe57ed51305b8aa3e9a311a1..772f1057647ff6274f8c0d1f8b8325dff1df4ad3 100644 (file)
@@ -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'",