Re: [PATCH 28/49] perf pmu: Save detected hybrid pmus to a global pmu list

2021-02-08 Thread Jin, Yao
Hi Arnaldo, On 2/9/2021 2:55 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 08, 2021 at 07:25:25AM -0800, kan.li...@linux.intel.com escreveu: From: Jin Yao We identify the cpu_core pmu and cpu_atom pmu by explicitly checking following files: For cpu_core, check: "/sys/bus/event_source/devic

Re: [PATCH 28/49] perf pmu: Save detected hybrid pmus to a global pmu list

2021-02-08 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 08, 2021 at 07:25:25AM -0800, kan.li...@linux.intel.com escreveu: > From: Jin Yao > > We identify the cpu_core pmu and cpu_atom pmu by explicitly > checking following files: > > For cpu_core, check: > "/sys/bus/event_source/devices/cpu_core/cpus" > > For cpu_atom, check: > "/sys/bus

[PATCH 28/49] perf pmu: Save detected hybrid pmus to a global pmu list

2021-02-08 Thread kan . liang
From: Jin Yao We identify the cpu_core pmu and cpu_atom pmu by explicitly checking following files: For cpu_core, check: "/sys/bus/event_source/devices/cpu_core/cpus" For cpu_atom, check: "/sys/bus/event_source/devices/cpu_atom/cpus" If the 'cpus' file exists, the pmu exists. But in order not