linux/tools/lib/perf/include/perf
Arnaldo Carvalho de Melo f54ce06049 libperf: Document struct perf_cpu int16_t ABI limitation
struct perf_cpu.cpu is int16_t, limiting perf to 32767 CPUs.  This is
part of the libperf ABI (returned by value from perf_cpu_map__cpu() and
friends), so widening it requires an ABI bump.

Add a comment on the struct definition noting this, and create a TODO
file to collect future ABI changes so they can be batched into a single
version bump.

Cc: Ian Rogers <irogers@google.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2026-06-06 14:46:37 -03:00
..
bpf_perf.h perf util: Move bpf_perf definitions to a libperf header 2021-04-29 10:30:58 -03:00
core.h libperf: Use 'extern' in LIBPERF_API visibility macro 2025-12-05 10:31:32 -08:00
cpumap.h libperf: Document struct perf_cpu int16_t ABI limitation 2026-06-06 14:46:37 -03:00
event.h perf tools: Fix event_contains() macro to verify full field extent 2026-05-29 11:44:19 -03:00
evlist.h perf evlist: Remove nr_groups 2023-03-13 17:42:27 -03:00
evsel.h libperf: Handle read format in perf_evsel__read() 2022-08-19 15:56:27 -03:00
mmap.h
schedstat-v15.h perf sched stats: Add record and rawdump support 2026-01-22 12:29:28 -03:00
schedstat-v16.h perf sched stats: Add schedstat v16 support 2026-01-22 12:30:16 -03:00
schedstat-v17.h perf sched stats: Add schedstat v17 support 2026-01-22 12:31:51 -03:00
threadmap.h libperf threadmap: Add perf_thread_map__idx() 2025-05-21 15:07:13 -03:00