perf_cpu_map__new(9)
๐ NAME ๐
okay so bestie, welcome to the perf_cpu_map__new(9) page from the Kernel API Manual ๐ This one is literally about creating a map from the cpu_list you hand it, like "0-7" โ iconic. And if no cpu_list argument is provided, then perf_cpu_map__new_online_cpus is returned instead. periodt โจ
โจ SYNOPSIS โจ
LIBPERF_API struct perf_cpu_map * perf_cpu_map__new (const char
*cpu_list );
๐ซถ ARGUMENTS ๐ซถ
cpu_listโ bestie, the original page literally says-- undescribed --๐ญ so there are no extra deets here. no cap, that's all it gives us.
๐ฎ SEE ALSO ๐ฎ
- Kernel file
./tools/lib/perf/include/perf/cpumap.h, plusstruct perf_cpu(9)๐ perf_cpu_map__new_any_cpu(9)๐ธperf_cpu_map__new_online_cpus(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)๐ฅ
mwah ๐ โ this pageโs source/version is ./tools/lib/perf/include/perf, and itโs dated October 2026. slay, go read the other pages now ๐ง
๐ฆ 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