linux/tools/perf/arch/arm64
Ian Rogers 83c338369a libperf cpumap: Make index and nr types unsigned
The index into the cpumap array and the number of entries within the
array can never be negative, so let's make them unsigned. This is
prompted by reports that gcc 13 with -O6 is giving a
alloc-size-larger-than errors. The change makes the cpumap changes and
then updates the declaration of index variables throughout perf and
libperf to be unsigned. The two things are hard to separate as
compiler warnings about mixing signed and unsigned types breaks the
build.

Reported-by: Chingbin Li <liqb365@163.com>
Closes: https://lore.kernel.org/lkml/20260212025127.841090-1-liqb365@163.com/
Tested-by: Chingbin Li <liqb365@163.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-04-01 14:50:53 -07:00
..
entry/syscalls perf build: Remove Makefile.syscalls 2025-03-20 22:58:20 -07:00
include perf arch: Update arch headers to use relative UAPI paths 2026-02-06 12:15:48 -03:00
tests perf tools: Fix compilation error on arm64 2025-02-14 11:12:12 -08:00
util libperf cpumap: Make index and nr types unsigned 2026-04-01 14:50:53 -07:00
Build perf util: Make util its own library 2024-06-26 11:07:42 -07:00
Makefile perf kvm stat: Remove use of the arch directory 2026-02-03 18:01:27 -03:00