aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-05-01 21:32:25 -0700
committerPaolo Bonzini <[email protected]>2020-05-13 12:15:04 -0400
commit56ba77a459a72a7d95be74355a40a91e1f6dd7f7 (patch)
tree5baa10ed1ca301dab3d9f57c70ebcd992af95e91 /tools/perf/scripts/python
parent1af1bb05625bcdd09522f416b62bcc72cc2fdd3b (diff)
KVM: x86: Save L1 TSC offset in 'struct kvm_vcpu_arch'
Save L1's TSC offset in 'struct kvm_vcpu_arch' and drop the kvm_x86_ops hook read_l1_tsc_offset(). This avoids a retpoline (when configured) when reading L1's effective TSC, which is done at least once on every VM-Exit. No functional change intended. Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions