perf_cpu_ma..._or_is_empty(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

perf_cpu_map__has_any_cpu_or_is_empty β€” bestie, this one asks the real questions: is this map either empty, or does it have that "any CPU"/dummy value? That's it, that's the whole vibe check πŸ”₯

This page lives in the Kernel API Manual, and the title got cut off at perf_cpu_ma..._or_is_empty(9) so like… yeah, we're working with what we've got 🫢


✨ SYNOPSIS ✨

okay so here's the exact signature, no cap, copy it verbatim:

LIBPERF_API bool perf_cpu_map__has_any_cpu_or_is_empty (const struct
perf_cpu_map *map );

notice the LIBPERF_API prefix, the bool return, and the const struct perf_cpu_map *map β€” all of it, literally character for character πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • map β€” so the manpage itself just says -- undescribed -- for this one 😭 like the docs literally gave us nothing. It's a const struct perf_cpu_map *map, that's what the synopsis says, and the description is… not written. Not me being lazy, the source is just built different (derogatory). If you need to know more about it, that's a cpumap.h girlie's job πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, in order πŸ’– and yes the first one is a kernel file path:

go read them, they ate πŸ’…


so yeah, that's the page 🌸 it's short, it's sweet, the argument section is a mystery, and honestly? iconic for that.

sign-off time πŸŽ€ this beauty comes from ./tools/lib/perf/include/perf, dated October 2026, and the page answers to perf_cpu_ma..._or_is_empty(9) β€” yes, still truncated, we stan a consistent queen βœ¨πŸ’œ

πŸ“¦ where this page comes from