Song Liu 71184c6ab7 perf record: Replace option --bpf-event with --no-bpf-event
Currently, monitoring of BPF programs through bpf_event is off by
default for 'perf record'.

To turn it on, the user need to use option "--bpf-event".  As BPF gets
wider adoption in different subsystems, this option becomes
inconvenient.

This patch makes bpf_event on by default, and adds option "--no-bpf-event"
to turn it off. Since option --bpf-event is not released yet, it is safe
to remove it.

Signed-off-by: Song Liu <songliubraving@fb.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: kernel-team@fb.com
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stanislav Fomichev <sdf@google.com>
Link: http://lkml.kernel.org/r/20190312053051.2690567-2-songliubraving@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-03-19 16:52:06 -03:00
..
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2019-02-19 12:21:06 -03:00
2019-01-25 15:12:10 +01:00
2019-02-06 10:00:39 -03:00
2018-10-18 11:16:38 -03:00
2015-08-21 11:34:10 -03:00
2016-10-24 11:07:39 -03:00
2018-03-16 13:52:37 -03:00
2018-03-16 13:52:37 -03:00
2019-02-06 10:00:39 -03:00
2018-03-05 11:52:41 -03:00
2017-07-18 23:14:08 -03:00
2018-12-17 14:57:07 -03:00
2019-01-25 15:12:09 +01:00
2019-03-19 16:52:03 -03:00
2019-02-09 13:16:01 +01:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-01-21 15:15:57 -03:00