linux/tools/perf/arch/arm/util
Ian Rogers 58b8b5d142 perf cpumap: Increment reference count for online cpumap
Thomas Richter <tmricht@linux.ibm.com> reported a double put on the
cpumap for the placeholder core PMU:
https://lore.kernel.org/lkml/20250318095132.1502654-3-tmricht@linux.ibm.com/
Requiring the caller to get the cpumap is not how these things are
usually done, switch cpu_map__online to do the get and then fix up any
use cases where a put is needed.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Link: https://lore.kernel.org/r/20250318171914.145616-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-03-19 16:56:33 -07:00
..
auxtrace.c
Build perf arm: Remove dwarf-regs.c 2024-11-09 08:39:13 -08:00
cs-etm.c perf: cs-etm: Only save valid trace IDs into files 2024-08-29 15:55:52 -03:00
cs-etm.h
perf_regs.c
pmu.c perf cpumap: Increment reference count for online cpumap 2025-03-19 16:56:33 -07:00
unwind-libdw.c perf tools: Fix compile error on sample->user_regs 2025-02-14 12:33:41 -08:00
unwind-libunwind.c