diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2024-09-10 23:03:48 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-12-19 02:14:48 +0300 |
commit | 3e633e7e7d0725b483aee843cbdce22bc9cd1707 (patch) | |
tree | 902c5db4696f2722ede64ed0e9879f8f949a2b24 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 62e41f6b4f3697e5909cdf70d56e9a7ebd958732 (diff) | |
download | linux-3e633e7e7d0725b483aee843cbdce22bc9cd1707.tar.xz |
KVM: x86: Add interrupt injection information to the kvm_entry tracepoint
Add VMX/SVM specific interrupt injection info the kvm_entry tracepoint.
As is done with kvm_exit, gather the information via a kvm_x86_ops hook
to avoid the moderately costly VMREADs on VMX when the tracepoint isn't
enabled.
Opportunistically rename the parameters in the get_exit_info()
declaration to match the names used by both SVM and VMX.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20240910200350.264245-2-mlevitsk@redhat.com
[sean: drop is_guest_mode() change, use intr_info/error_code for names]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions