]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit715c1b0ced002eb91254f7d277020394cef60968
tree4135ab4a322d4a2fa15c208f881420c626a5db87
parent55c0a573bfb8a7d0900676bf92ac3c3c4f60802e
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