diff options
| author | Marc Zyngier <[email protected]> | 2023-08-23 09:14:48 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2023-08-23 19:01:03 +0000 |
| commit | 9b80b9676be901eb980c48543a19d7026d2f84b8 (patch) | |
| tree | 11426b5aabd78b2e24110435a20de615dab1f75b /tools/perf/scripts/python/flamegraph.py | |
| parent | KVM: arm64: pmu: Resync EL0 state on counter rotation (diff) | |
| download | kernel-9b80b9676be901eb980c48543a19d7026d2f84b8.tar.gz kernel-9b80b9676be901eb980c48543a19d7026d2f84b8.zip | |
KVM: arm64: pmu: Guard PMU emulation definitions with CONFIG_KVM
Most of the internal definitions for PMU emulation are guarded with
CONFIG_HW_PERF_EVENTS. However, this isn't enough, and leads to
these definitions leaking if CONFIG_KVM isn't enabled.
This leads to some compilation breakage in this exact configuration.
Fix it by falling back to the dummy stubs if either perf or KVM
isn't selected.
Reported-by: Alexander Stein <[email protected]>
Tested-by: Alexander Stein <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
