mbox series

[kvm-unit-tests,v2,0/5] x86/pmu: Test case optimization, fix and addition

Message ID 20220816080909.90622-1-likexu@tencent.com (mailing list archive)
Headers show
Series x86/pmu: Test case optimization, fix and addition | expand

Message

Like Xu Aug. 16, 2022, 8:09 a.m. UTC
v1 -> v2 Changelog:
- Introduce __start_event() and multiple_many() for readability; (Sean)
  (https://lore.kernel.org/kvm/20220801131814.24364-1-likexu@tencent.com/)
- Move PEBS testcases to this patch set for easier tracking;
  (https://lore.kernel.org/kvm/20220728112119.58173-1-likexu@tencent.com/)
- Create vPMU testcase group as more related tests are coming;

Like Xu (5):
  x86/pmu: Introduce __start_event() to drop all of the manual zeroing
  x86/pmu: Introduce multiple_{one, many}() to improve readability
  x86/pmu: Reset the expected count of the fixed counter 0 when i386
  x86/pmu: Add tests for Intel Processor Event Based Sampling (PEBS)
  x86: create pmu group for quick pmu-scope testing

 lib/x86/msr.h       |   1 +
 x86/Makefile.x86_64 |   1 +
 x86/pmu.c           |  49 +++--
 x86/pmu_pebs.c      | 486 ++++++++++++++++++++++++++++++++++++++++++++
 x86/unittests.cfg   |  10 +
 5 files changed, 527 insertions(+), 20 deletions(-)
 create mode 100644 x86/pmu_pebs.c