]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Add trapped system register access tracepoint
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 4 Dec 2018 10:44:22 +0000 (10:44 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Dec 2018 17:47:08 +0000 (17:47 +0000)
commitc5ff3e5daabde8cb9d628419ad4a2c8e1d81ea0a
treec032a33528d627b77c1c170679f7f9a73b89ac58
parentbee2813b27bba6113cf5a259d894c00b2c378aef
arm64: KVM: Add trapped system register access tracepoint

We're pretty blind when it comes to system register tracing,
and rely on the ESR value displayed by kvm_handle_sys, which
isn't much.

Instead, let's add an actual name to the sysreg entries, so that
we can finally print it as we're about to perform the access
itself.

The new tracepoint is conveniently called kvm_sys_access.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/sys_regs.c
arch/arm64/kvm/sys_regs.h
arch/arm64/kvm/trace.h