kvm: svm: Introduce GA Log tracepoint for AVIC
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Thu, 12 Mar 2020 10:39:28 +0000 (05:39 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:56 +0000 (17:58 +0100)
commitab56f8e62dafe4c9bec9fc236937c9884bd9966d
treef53ecb06f2b89df2f127028342ff2abbd3250b1f
parent3ac40c404c60f20dd07920810b1195125f193e1e
kvm: svm: Introduce GA Log tracepoint for AVIC

GA Log tracepoint is useful when debugging AVIC performance
issue as it can be used with perf to count the number of times
IOMMU AVIC injects interrupts through the slow-path instead of
directly inject interrupts to the target vcpu.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/trace.h
arch/x86/kvm/x86.c