Re: [PATCH 1/6] perf mem: Add mem_events into the supported perf_pmu

Ravi Bangoria
2023-12-07T14:23:54Z

Hi Kan,

> +void perf_pmu__arch_init(struct perf_pmu *pmu)
> +{
> + if (strcmp(pmu->name, "arm_spe_0"))

if (!strcmp(...))

> + if (x86__is_amd_cpu()) {
> + if (strcmp(pmu->name, "ibs_op"))

Ditto.

Thanks,
Ravi