perf header: Support HYBRID_TOPOLOGY and HYBRID_CPU_PMU_CAPS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesIn review
- v32 patches 2 repliesSuperseded
- v23 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 17 replies | Superseded |
Changes in v4 from the cover letter
---
- 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().
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf header: Support HYBRID_TOPOLOGY featuretools/ tools/ tools/ +5 more | +222 | 0 replies | |
| 2/2 | perf header: Support HYBRID_CPU_PMU_CAPS featuretools/ tools/ tools/ +2 more | +175 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jiri Olsa |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] perf header: Support HYBRID_TOPOLOGY and HYBRID_CPU_PMU_CAPS
AlderLake uses a hybrid architecture utilizing Golden Cove cores (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.
v4:
---
- 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().
v3:
---
- For "[PATCH v3 1/2] perf header: Support HYBRID_TOPOLOGY feature", update HEADER_HYBRID_TOPOLOGY format in perf.data-file-format.txt.
- For "[PATCH v3 2/2] perf header: Support HYBRID_CPU_PMU_CAPS feature", Don't extend the original CPU_PMU_CAPS to support hybrid cpu pmus. Instead, create a new feature 'HYBRID_CPU_PMU_CAPS' in header.
v2:
---
- In "perf header: Support HYBRID_TOPOLOGY feature", don't use the n->map to print the cpu list, just use n->cpus.
- Separate hybrid CPU_PMU_CAPS support into two patches:
perf header: Write hybrid CPU_PMU_CAPS
perf header: Process hybrid CPU_PMU_CAPS
- Add some words to perf.data-file-format.txt for HYBRID_TOPOLOGY and hybrid CPU_PMU_CAPS.
Jin Yao (2):
perf header: Support HYBRID_TOPOLOGY feature perf header: Support HYBRID_CPU_PMU_CAPS feature
.../Documentation/perf.data-file-format.txt | 33 +++ tools/perf/util/cputopo.c | 80 ++++++ tools/perf/util/cputopo.h | 13 + tools/perf/util/env.c | 12 + tools/perf/util/env.h | 16 ++ tools/perf/util/header.c | 249 ++++++++++++++++-- tools/perf/util/header.h | 2 + tools/perf/util/pmu-hybrid.h | 11 + 8 files changed, 397 insertions(+), 19 deletions(-)
Signature · 1 line
2.17.1