@@ -1480,6 +1480,7 @@ int cmd_top(int argc, const char **argv)
"Display raw encoding of assembly instructions (default)"),
OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel,
"Enable kernel symbol demangling"),
+ OPT_BOOLEAN(0, "no-bpf-event", &top.record_opts.no_bpf_event, "do not record bpf events"),
OPT_STRING(0, "objdump", &top.annotation_opts.objdump_path, "path",
"objdump binary to use for disassembly and annotations"),
OPT_STRING('M', "disassembler-style", &top.annotation_opts.disassembler_style, "disassembler style",
This patch adds option --no-bpf-event to perf-top, which is the same as the option of perf-record. The following patches will use this option. Signed-off-by: Song Liu <songliubraving@fb.com> --- tools/perf/builtin-top.c | 1 + 1 file changed, 1 insertion(+)