aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2024-08-27 16:25:16 +0100
committerMarc Zyngier <maz@kernel.org>2024-08-27 18:32:56 +0100
commitcd08d3216fc4e684f05fe4cf696a275a975f6499 (patch)
tree413bb47904e8a549eb1baf5729e36fe1f28d6528 /tools/perf/scripts/python/syscall-counts.py
parent4a999a1d7ae52592723a9a219aaa7a3406d66dd6 (diff)
KVM: arm64: Unify UNDEF injection helpers
We currently have two helpers (undef_access() and trap_undef()) that do exactly the same thing: inject an UNDEF and return 'false' (as an indication that PC should not be incremented). We definitely could do with one less. Given that undef_access() is used 80ish times, while trap_undef() is only used 30 times, the latter loses the battle and is immediately sacrificed. We also have a large number of instances where undef_access() is open-coded. Let's also convert those. Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20240827152517.3909653-11-maz@kernel.org 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