Song Liu
ee7a112fbc
perf top: Add option --no-bpf-event
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.
Committer testing:
# perf top -vv 2> /tmp/perf_event_attr.out
# cat /tmp/perf_event_attr.out
------------------------------------------------------------
perf_event_attr:
size 112
{ sample_period, sample_freq } 4000
sample_type IP|TID|TIME|CPU|PERIOD
read_format ID
disabled 1
inherit 1
mmap 1
comm 1
freq 1
task 1
precise_ip 3
sample_id_all 1
exclude_guest 1
mmap2 1
comm_exec 1
ksymbol 1
bpf_event 1
------------------------------------------------------------
#
After this patch:
# perf top --no-bpf-event -vv 2> /tmp/perf_event_attr.out
# cat /tmp/perf_event_attr.out
------------------------------------------------------------
perf_event_attr:
size 112
{ sample_period, sample_freq } 4000
sample_type IP|TID|TIME|CPU|PERIOD
read_format ID
disabled 1
inherit 1
mmap 1
comm 1
freq 1
task 1
precise_ip 3
sample_id_all 1
exclude_guest 1
mmap2 1
comm_exec 1
ksymbol 1
------------------------------------------------------------
#
Signed-off-by: Song Liu <songliubraving@fb.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stanislav Fomichev <sdf@google.com>
Cc: kernel-team@fb.com
Link: http://lkml.kernel.org/r/20190312053051.2690567-11-songliubraving@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-03-19 16:52:07 -03:00
..
2018-10-26 16:26:32 -07:00
2019-03-11 16:13:04 -03:00
2019-03-19 16:52:06 -03:00
2019-02-14 15:39:21 -03:00
2018-12-07 14:15:00 +08:00
2018-11-11 12:58:27 -08:00
2018-12-28 16:33:08 -03:00
2018-11-11 12:58:27 -08:00
2019-01-12 18:17:56 +00:00
2019-03-11 16:13:05 -03:00
2018-11-27 12:53:44 +01:00
2019-03-19 16:52:06 -03:00
2019-01-21 11:07:04 +01:00
2018-11-20 18:59:00 +01:00
2018-10-03 11:19:52 +01:00
2019-03-19 16:52:07 -03:00
2019-01-03 14:05:16 +01:00
2018-09-04 17:00:37 +01:00
2019-03-05 14:49:11 -08:00
2019-01-04 12:54:49 -03:00
2018-10-18 19:44:39 +02:00
2018-12-19 18:23:49 -05:00
2019-01-08 17:15:11 -08:00
2018-11-11 12:58:27 -08:00