]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f83035c05eedfc33e4b30303c62bac284dee027
treef53ecb06f2b89df2f127028342ff2abbd3250b1f
parent798f5050a8ae293e1494575e0bad1ece9fa4ea9a
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