ARM: KVM: extend WFI tracepoint to differentiate between wfi and wfe
authorAndre Przywara <andre.przywara@arm.com>
Mon, 12 Jan 2015 16:56:16 +0000 (16:56 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 15 Jan 2015 12:12:27 +0000 (13:12 +0100)
commit924de80db9cab3e2ee53933deee7945e81808151
treea4ee7faee0a6f3f66c5e0df260be6afcfde5404f
parent0d97f884810410b2e0515e29424fe1ec5357176f
ARM: KVM: extend WFI tracepoint to differentiate between wfi and wfe

Currently the trace printk talks about "wfi" only, though the trace
point triggers both on wfi and wfe traps.
Add a parameter to differentiate between the two.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Wei Huang <wei@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/handle_exit.c
arch/arm/kvm/trace.h