On Tue, Jan 09, 2024 at 03:02:35PM -0800, Sean Christopherson wrote: > From: Jinrong Liang <cloudliang@xxxxxxxxxxx> > > 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 <aaronlewis@xxxxxxxxxx> > Suggested-by: Sean Christopherson <seanjc@xxxxxxxxxx> > Signed-off-by: Jinrong Liang <cloudliang@xxxxxxxxxxx> > Co-developed-by: Sean Christopherson <seanjc@xxxxxxxxxx> > Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx> > --- > tools/testing/selftests/kvm/Makefile | 1 + > tools/testing/selftests/kvm/include/pmu.h | 97 ++++++++++++ > tools/testing/selftests/kvm/lib/pmu.c | 31 ++++ Shouldn't these new files be tools/testing/selftests/kvm/include/x86_64/pmu.h tools/testing/selftests/kvm/lib/x86_64/pmu.c Thanks, drew