aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-06-22 13:20:33 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-08 16:21:55 -0400
commit573546820b792ef620acbfaa16bdf24ffbb1007b (patch)
tree1d15a92ce16a9e266719d6ae8dc876ec6a2b6fa9 /tools/perf/scripts/python
parentKVM: x86/mmu: Make kvm_mmu_page definition and accessor internal-only (diff)
downloadlinux-573546820b792ef620acbfaa16bdf24ffbb1007b.tar.gz
linux-573546820b792ef620acbfaa16bdf24ffbb1007b.zip
KVM: x86/mmu: Add sptep_to_sp() helper to wrap shadow page lookup
Introduce sptep_to_sp() to reduce the boilerplate code needed to get the shadow page associated with a spte pointer, and to improve readability as it's not immediately obvious that "page_header" is a KVM-specific accessor for retrieving a shadow page. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200622202034.15093-6-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions