KVM: x86: make apic_accept_irq tracepoint more generic
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Sep 2014 09:51:02 +0000 (11:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Sep 2014 09:51:02 +0000 (11:51 +0200)
commita183b638b61c104920a42b1eb7668953f8ada5cb
tree4135ab4a322d4a2fa15c208f881420c626a5db87
parent73a6d9416279f138833574f11dc82134fb56908d
KVM: x86: make apic_accept_irq tracepoint more generic

Initially the tracepoint was added only to the APIC_DM_FIXED case,
also because it reported coalesced interrupts that only made sense
for that case.  However, the coalesced argument is not used anymore
and tracing other delivery modes is useful, so hoist the call out
of the switch statement.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/trace.h