Re: [PATCH v5 3/5] perf test: Add pmu-event test for "Compat" and new event_field.

From: John Garry
Date: Mon Jul 31 2023 - 09:13:16 EST


On 31/07/2023 13:30, Jing Zhang wrote:
+        .pmu = {
+            .name = (char *)"uncore_arm_cmn_0",
+            .is_uncore = 1,
+            .id = (char *)"43602",
+        },
+        .aliases = {
+            &sys_cmn_pmu_hnf_cache_miss,
+        },
+    },
+    {
+        .pmu = {
+            .name = (char *)"uncore_arm_cmn_1",
Shouldn't this match some perf_pmu_test_event entry with same matching_pmu member? But is perf_pmu_test_event.matching_pmu member ever used for any checking???

I need to double check because I was testing against 6.3-rc2.

That 6.3-rc2, was for the the kernel? Or baseline for this series? See see maintainers for git/branch to base perf tool dev on.

Thanks,
John