KVM: PPC: BookE: Improve irq inject tracepoint
commitb6b612571ebe40fe25239e2dbcb0501f246a5337
authorAlexander Graf <agraf@suse.de>
Mon, 10 Nov 2014 23:15:53 +0000 (11 00:15 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 15 Dec 2014 12:27:23 +0000 (15 13:27 +0100)
tree65494d40b0137f67eff6f5602d2355621be7d260
parente08e833616f7eefebdacfd1d743d80ff3c3b2585
KVM: PPC: BookE: Improve irq inject tracepoint

When injecting an IRQ, we only document which IRQ priority (which translates
to IRQ type) gets injected. However, when reading traces you don't necessarily
have all the numbers in your head to know which IRQ really is meant.

This patch converts the IRQ number field to a symbolic name that is in sync
with the respective define. That way it's a lot easier for readers to figure
out what interrupt gets injected.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/trace_booke.h