diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-12-19 14:41:14 -0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-12-20 09:04:14 +0000 |
commit | 8c02c2bbd64375e603df79449f0eb2c57e1a597c (patch) | |
tree | 37c3a89ba887f1ee2e740c5fd716e40ead2e7797 /tools/perf/scripts/python/syscall-counts.py | |
parent | b0ee51033ae35461ae98c465426f0002b8370679 (diff) |
KVM: arm64: Avoid reading ID_AA64DFR0_EL1 for debug save/restore
Similar to other per-CPU profiling/debug features we handle, store the
number of breakpoints/watchpoints in kvm_host_data to avoid reading the
ID register 4 times on every guest entry/exit. And if you're in the
nested virt business that's quite a few avoidable exits to the L0
hypervisor.
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20241219224116.3941496-18-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions