perf_cpu_map__new_any_cpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘‘


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