diff options
author | 2020-09-23 13:13:44 -0700 | |
---|---|---|
committer | 2020-09-28 07:57:50 -0400 | |
commit | a9d7d76c66ede215542f12b18980ef36798564b2 (patch) | |
tree | 5e5ae06958e67734506f589150f8de0a74c5eb13 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | KVM: x86: Add RIP to the kvm_entry, i.e. VM-Enter, tracepoint (diff) | |
download | wireguard-linux-a9d7d76c66ede215542f12b18980ef36798564b2.tar.xz wireguard-linux-a9d7d76c66ede215542f12b18980ef36798564b2.zip |
KVM: x86: Read guest RIP from within the kvm_nested_vmexit tracepoint
Use kvm_rip_read() to read the guest's RIP for the nested VM-Exit
tracepoint instead of having the caller pass in an argument. Params
that are passed into a tracepoint are evaluated even if the tracepoint
is disabled, i.e. passing in RIP for VMX incurs a VMREAD and retpoline
to retrieve a value that may never be used, e.g. if the exit is due to a
hardware interrupt.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923201349.16097-3-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions