On Fri, May 14, 2021 at 08:29:46PM +0800, Jin Yao wrote:
AlderLake uses a hybrid architecture utilizing Golden Cove coresAcked-by: Jiri Olsa<jolsa@xxxxxxxxxx>
(core cpu) and Gracemont cores (atom cpu). It would be useful to let user
know the hybrid topology, the HYBRID_TOPOLOGY feature in header indicates
which cpus are core cpus, and which cpus are atom cpus.
On hybrid platform, it may have several cpu pmus, such as, "cpu_core" and
"cpu_atom". The HYBRID_CPU_PMU_CAPS feature in perf header is created to
support multiple cpu pmus.
- Only minor update in '[PATCH v4 2/2] perf header: Support HYBRID_CPU_PMU_CAPS feature'.
1. Directly return process_per_cpu_pmu_caps() in process_cpu_pmu_caps.
Remove the variable 'ret'.
2. Set 'ret = -1' if (!n->pmu_name) in process_hybrid_cpu_pmu_caps().