aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-06-22 13:20:33 -0700
committerPaolo Bonzini <[email protected]>2020-07-08 16:21:55 -0400
commit573546820b792ef620acbfaa16bdf24ffbb1007b (patch)
tree1d15a92ce16a9e266719d6ae8dc876ec6a2b6fa9 /tools/perf/scripts/python
parent985ab2780164698ec6e7d73fad523d50449261dd (diff)
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 <[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