diff options
author | Sean Christopherson <seanjc@google.com> | 2022-10-06 00:51:22 +0000 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-11-16 16:59:05 -0800 |
commit | 5228c02a4c541a065ec071ea7ec2c1c76f3723dd (patch) | |
tree | 0fd1008f6b2f8e2700f2ce2e7ccd2e99b3dc0a11 /tools/perf/scripts/python | |
parent | 4feb9d21a407318129b6ea3a6735f1866439b9ab (diff) |
KVM: selftests: Add PMU feature framework, use in PMU event filter test
Add an X86_PMU_FEATURE_* framework to simplify probing architectural
events on Intel PMUs, which require checking the length of a bit vector
and the _absence_ of a "feature" bit. Add helpers for both KVM and
"this CPU", and use the newfangled magic (along with X86_PROPERTY_*)
to clean up pmu_event_filter_test.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221006005125.680782-10-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions