diff options
| author | Sean Christopherson <[email protected]> | 2022-10-06 00:51:22 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2022-11-16 16:59:05 -0800 |
| commit | 5228c02a4c541a065ec071ea7ec2c1c76f3723dd (patch) | |
| tree | 0fd1008f6b2f8e2700f2ce2e7ccd2e99b3dc0a11 /tools/perf/scripts/python/exported-sql-viewer.py | |
| 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions