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

From: Ravi Bangoria
Date: Thu Dec 07 2023 - 09:23:54 EST


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