[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <77380298-b3d5-d165-c8d4-a24b22d15b0c@linux.intel.com>
Date: Wed, 16 Jun 2021 09:37:47 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Jin Yao <yao.jin@...ux.intel.com>, acme@...nel.org,
jolsa@...nel.org, peterz@...radead.org, mingo@...hat.com,
alexander.shishkin@...ux.intel.com
Cc: Linux-kernel@...r.kernel.org, kan.liang@...el.com,
yao.jin@...el.com
Subject: Re: [PATCH] perf list: Skip the invalid hybrid pmu
On 6/9/2021 10:16 PM, Jin Yao wrote:
> On hybrid platform, such as Alderlake, if atom CPUs are offlined,
> the kernel still exports the sysfs path '/sys/devices/cpu_atom/' for
> 'cpu_atom' pmu but the file '/sys/devices/cpu_atom/cpus' is empty,
> which indicates this is an invalid pmu.
The patch looks good, but it would probably make sense to fix the kernel
to avoid this too.
Of course the tools patch would still be needed for older kernels.
-Andi
Powered by blists - more mailing lists