[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c5e76546-c3e9-494b-a43c-3c088ad77167@linux.intel.com>
Date: Thu, 7 Dec 2023 09:27:14 -0500
From: "Liang, Kan" <kan.liang@...ux.intel.com>
To: Ravi Bangoria <ravi.bangoria@....com>, acme@...nel.org,
irogers@...gle.com, peterz@...radead.org, mingo@...hat.com,
namhyung@...nel.org, jolsa@...nel.org, adrian.hunter@...el.com,
john.g.garry@...cle.com, will@...nel.org, james.clark@....com,
mike.leach@...aro.org, leo.yan@...aro.org,
yuhaixin.yhx@...ux.alibaba.com, renyu.zj@...ux.alibaba.com,
tmricht@...ux.ibm.com, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/6] perf mem: Add mem_events into the supported perf_pmu
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
Powered by blists - more mailing lists