aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-05-11 16:33:46 -0700
committerSean Christopherson <seanjc@google.com>2023-06-01 13:41:06 -0700
commitebda79e5057778be1ad8ed072e4229894dfc66b7 (patch)
tree7b17196e7431649e7beeadd849a94f92bc2426f4 /tools/perf/scripts/python/export-to-postgresql.py
parent7aeae027611ff27f13a32e19736c8fd06e41786c (diff)
KVM: x86: Add helper to query if variable MTRR MSR is base (versus mask)
Add a helper to query whether a variable MTRR MSR is a base versus as mask MSR. Replace the unnecessarily complex math with a simple check on bit 0; base MSRs are even, mask MSRs are odd. Link: https://lore.kernel.org/r/20230511233351.635053-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions