Song Liu f8b61bd204 perf stat: Skip evlist__[enable|disable] when all events uses BPF
When all events of a perf-stat session use BPF, it is not necessary to
call evlist__enable() and evlist__disable(). Skip them when
all_counters_use_bpf is true.

Signed-off-by: Song Liu <song@kernel.org>
Reported-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-05-21 16:50:17 -03:00
..
2020-12-08 23:30:04 +09:00
2021-04-20 08:40:20 -03:00
2021-02-09 15:42:57 -03:00
2021-04-29 10:30:58 -03:00
2021-04-05 10:15:51 -03:00
2021-02-09 15:42:57 -03:00
2021-02-09 15:42:57 -03:00