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

Liang, Kan
2023-12-07T14:27:22Z

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