This patchset includes a fix for the issue of which ARM will try to open
events on offlined CPUs when PMUs have a cpu map, and its essential
dependent patches.
Some modifications are added to adapt to OpenEuler.
Ian Rogers (4):
perf cpumap: Add is_subset function
perf cpumap: Add intersect function
perf pmu: Add CPU map for "cpu" PMUs
perf arm: Workaround ARM PMUs cpu maps having offline cpus
Yushan Wang (1):
perf cpumap: Fix incompatible perf_cpu type for
perf_cpu_map__intersect
tools/lib/perf/cpumap.c | 55 ++++++++++++++++++++++++
tools/lib/perf/include/internal/cpumap.h | 1 +
tools/lib/perf/include/perf/cpumap.h | 2 +
tools/perf/arch/arm/util/pmu.c | 10 ++++-
tools/perf/util/cpumap.c | 4 +-
tools/perf/util/cpumap.h | 2 +-
6 files changed, 70 insertions(+), 4 deletions(-)
--
2.33.0