cpu_aggr_map__empty_new(9)
π cpu_aggr_map__empty_new (9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is cpu_aggr_map__empty_new. she's giving very much β¨allocator energyβ¨ and honestly? she ate.
πΈ NAME πΈ
cpu_aggr_map__empty_new β Create a cpu_aggr_map of size nr with every entry being empty.
like, you hand her a number, she hands you back a whole map where every single slot is a cute lil empty void. no thoughts. head empty. every entry. periodt π
β¨ SYNOPSIS β¨
struct cpu_aggr_map * cpu_aggr_map__empty_new (int nr );
that's it. that's the whole vibe check. one function, one int, one pointer coming back at you like π«Ά
π¦ ARGUMENTS π¦
nrβ-- undescribed --
bestie. the docs literally left this one blank π it's giving "professor didn't finish the slides." so no cap, the manual does not describe this argument. we are not gonna sit here and invent lore for it β that would be lying, and lying is not iconic. go read the source if you need the tea π
π₯ SEE ALSO π₯
the whole fam, and yes she travels with a crowd. rollerskates in formation, if you will πΌ:
- Kernel file
./tools/perf/util/cpumap.hβ the home base, the mothership, the address π cpu_map__is_dummy(9)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__new(9)β her sister, the one who actually fills stuff in π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)
lowkey reminder bestie:nris genuinely undocumented in this page (-- undescribed --). don't come for me, come for the manpage π
okay that's the whole page, you're so welcome, go be smart about cpu aggregation maps and slay responsibly π§ββοΈπ
source: ./tools/perf/util Β· dated: October 2026 Β· bye bestie, mwah π
π¦ 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