Messages in this thread | | | Subject | Re: [PATCH] perf list: Skip the invalid hybrid pmu | From | "Jin, Yao" <> | Date | Tue, 6 Jul 2021 10:27:53 +0800 |
| |
Hi Arnaldo, hi Jiri,
On 6/17/2021 12:37 AM, Andi Kleen wrote: > > 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 > >
Any comments for this patch?
Thanks Jin Yao
| |