perf tool: Skip invalid hybrid PMU
Status from this message: Thanks, applied to perf/urgent.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 2 repliesApplied
- v11 patch 4 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | perf pmu: Skip invalid hybrid pmutools/ | +8 | 0 replies | |
| 2/4 | perf tests: Fix 'Parse event definition strings' on core-only systemtools/ | +10 | 0 replies | |
| 3/4 | perf tests: Fix 'Roundtrip evsel->name' on core-only systemtools/ | +2 | 0 replies | |
| 4/4 | perf tests: Fix 'Convert perf time to TSC' on core-only systemtools/ | +2 | 0 replies |
Reviews trailers per patch
None of the 4 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/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] perf tool: Skip invalid hybrid PMU
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
tools/perf/tests/evsel-roundtrip-name.c | 3 ++- tools/perf/tests/parse-events.c | 16 ++++++++++------ tools/perf/tests/perf-time-to-tsc.c | 3 ++- tools/perf/util/pmu.c | 9 ++++++++- 4 files changed, 22 insertions(+), 9 deletions(-)
Signature · 1 line
2.17.1