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

From: Liang, Kan
Date: Thu Dec 07 2023 - 09:27:22 EST




On 2023-12-07 9:21 a.m., Ravi Bangoria wrote:
> 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. I will fix it in V2.

Thanks,
Kan