perf_cpu_map..._or_is_empty(9)
okay so bestie, welcome to the perf_cpu_map..._or_is_empty(9) page π β itβs from the Kernel API Manual, and itβs here to answer one very specific little question for you β¨.
πΈ NAME πΈ
perf_cpu_map__is_any_cpu_or_is_empty β checks if a map is either empty or is the "any CPU"/dummy value. Thatβs the whole vibe check, no cap π«Ά.
π¦ SYNOPSIS π¦
The signature, exactly as it appears, no touch-ups:
LIBPERF_API bool perf_cpu_map__is_any_cpu_or_is_empty (const struct perf_cpu_map *map );
π ARGUMENTS π
mapβ the map youβre checking. The original argument description is literally-- undescribed --, which is giving mysterious main-character energy π. No extra lore on this page, bestie.
The source really does just say -- undescribed -- here, so Iβm not gonna invent details π.
π SEE ALSO π
The whole SEE ALSO crew, fr fr:
- Kernel file
./tools/lib/perf/include/perf/cpumap.h struct perf_cpu(9)perf_cpu_map__new_any_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_empty(9)perf_cpu_map__min(9)perf_cpu_map__max(9)
Cute sign-off time ππ: this pageβs source/version is ./tools/lib/perf/include/perf, itβs dated October 2026, and itβs all about perf_cpu_map..._or_is_empty(9) from the Kernel API Manual ππ
. Bye bestie, go check those maps! β¨
π¦ 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