lkml.org 
[lkml]   [2021]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] perf list: Skip the invalid hybrid pmu
From
Date

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


\
 
 \ /
  Last update: 2021-06-16 18:38    [W:0.117 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site