diff options
| author | Song Liu <[email protected]> | 2021-05-12 06:51:16 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-05-21 19:50:17 +0000 |
| commit | f8b61bd20479c094fb421da42fef6b4ff22a589e (patch) | |
| tree | e9ab717c6bd7d0d6467dea7ce37d8ef5e07d65a2 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf script: Add missing PERF_IP_FLAG_CHARS for VM-Entry and VM-Exit (diff) | |
| download | kernel-f8b61bd20479c094fb421da42fef6b4ff22a589e.tar.gz kernel-f8b61bd20479c094fb421da42fef6b4ff22a589e.zip | |
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 <[email protected]>
Reported-by: Jiri Olsa <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
