diff options
author | Jinrong Liang <[email protected]> | 2024-01-09 15:02:35 -0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-01-30 15:29:18 -0800 |
commit | e6faa04970575622243d3a20782dde2d5813772d (patch) | |
tree | aa92edf9ccb876c979c7359f234083c33f659339 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 370d536322896cc9ad59eb8849ad8e1f9e985953 (diff) |
KVM: selftests: Add pmu.h and lib/pmu.c for common PMU assets
Add a PMU library for x86 selftests to help eliminate open-coded event
encodings, and to reduce the amount of copy+paste between PMU selftests.
Use the new common macro definitions in the existing PMU event filter test.
Cc: Aaron Lewis <[email protected]>
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Jinrong Liang <[email protected]>
Co-developed-by: Sean Christopherson <[email protected]>
Tested-by: Dapeng Mi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions