Re: [PATCH v2 0/4] perf tool: Skip invalid hybrid PMU

From: Arnaldo Carvalho de Melo
Date: Mon Jul 12 2021 - 14:08:07 EST


Em Sun, Jul 11, 2021 at 05:52:48PM +0200, Jiri Olsa escreveu:
> On Thu, Jul 08, 2021 at 09:36:57AM +0800, 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. So we need to check and skip
> > the invalid hybrid pmu.
> >
> > Also we need to update some perf test cases for core-only system.
> >
> > Jin Yao (4):
> > perf pmu: Skip invalid hybrid pmu
> > perf tests: Fix 'Parse event definition strings' on core-only system
> > perf tests: Fix 'Roundtrip evsel->name' on core-only system
> > perf tests: Fix 'Convert perf time to TSC' on core-only system
>
> Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

Thanks, applied to perf/urgent.

- Arnaldo