perf_cpu_map__new_any_cpu(9)
β¨ perf_cpu_map__new_any_cpu β¨
okay so bestie, welcome to the perf_cpu_map__new_any_cpu(9) page from the Kernel API Manual π
this one is short and sweet and honestly kind of iconic for it.
π NAME π
perf_cpu_map__new_any_cpu β it hands you a map with a singular "any CPU" / dummy -1 value. that's it. that's the whole vibe. one (1) special little dummy entry, no cap π
πΈ SYNOPSIS πΈ
LIBPERF_API struct perf_cpu_map * perf_cpu_map__new_any_cpu (void );
literally just LIBPERF_API struct perf_cpu_map * perf_cpu_map__new_any_cpu (void ); β copy it exactly, she's perfect π«Ά
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. the void is voiding π nothing to pass, nothing to worry about, just call her and go β¨
ngl this is the lowkey dream signature β you can't mess up the args if there are no args π
β SEE ALSO β
go read these too, they're giving main character energy π
- Kernel file
./tools/lib/perf/include/perf/cpumap.hstruct perf_cpu(9) perf_cpu_map__new_online_cpus(9)perf_cpu_map__new(9)perf_cpu_map__cpu(9)perf_cpu_map__nr(9)perf_cpu_map__has_any_cpu_or_is_empty(9)perf_cpu_map__is_any_cpu_or_is_empty(9)perf_cpu_map__is_empty(9)perf_cpu_map__min(9)perf_cpu_map__max(9)
and that's the whole page, bestie β short, sweet, singular, dummy -1 and all π
signed off with love from ./tools/lib/perf/include/perf, dated October 2026, serving Kernel API Manual realness π§ββοΈπ
slay, go build something π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms