cpu_map__is_dummy(9)
β¨ NAME β¨
okay so we're in the Kernel API Manual, and the main character is cpu_map__is_dummy(9). The whole lore is literally this: events associated with a pid, rather than a CPU, use a single dummy map with an entry of -1. That's the vibe, that's the whole page, periodt. π
π οΈ SYNOPSIS π οΈ
bool cpu_map__is_dummy (const struct perf_cpu_map *cpus );
πΈ ARGUMENTS πΈ
cpusβ the manual says undescribed, and honestly bestie, that's all we're getting. It's theconst struct perf_cpu_map *from the signature, no invented lore, no cap. π«Ά
π SEE ALSO π
go peek at the Kernel file ./tools/perf/util/cpumap.h, plus these iconic references:
cpu__get_node(9)cpu__get_socket_id(9)cpu__get_die_id(9)cpu__get_cluster_id(9)cpu__get_core_id(9)cpu_aggr_map__empty_new(9)cpu_aggr_map__new(9)aggr_cpu_id__socket(9)aggr_cpu_id__die(9)aggr_cpu_id__cluster(9)aggr_cpu_id__core(9)aggr_cpu_id__node(9)aggr_cpu_id__global(9)
made with π from the ./tools/perf/util source/version, dated October 2026. π
π¦ 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