perf tests: Add some pmu core functionality tests
authorIan Rogers <irogers@google.com>
Wed, 15 May 2024 06:01:14 +0000 (23:01 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 28 May 2024 18:29:49 +0000 (11:29 -0700)
commit678be1ca30cc939e0180c85b4cc9150b3d5ef0c8
tree0763acf43d094359f5c24a09b735a91f3eadb069
parent3241d46f5f5450ddff255a136f2ebf3282065435
perf tests: Add some pmu core functionality tests

Test behavior of PMU names and comparisons wrt suffixes using Intel
uncore_cha, marvell mrvl_ddr_pmu and S390's cpum_cf as examples.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: James Clark <james.clark@arm.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Will Deacon <will@kernel.org>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Bharat Bhushan <bbhushan2@marvell.com>
Cc: Bhaskara Budiredla <bbudiredla@marvell.com>
Cc: Tuan Phan <tuanphan@os.amperecomputing.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240515060114.3268149-3-irogers@google.com
tools/perf/tests/pmu.c