cppc_get_perf_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is cppc_get_perf_caps(9) from the Kernel API Manual, and it is literally the β€œGet a CPU’s performance capabilities” moment. no cap ✨


✨ SYNOPSIS ✨

int cppc_get_perf_caps (int cpunum , struct cppc_perf_caps *perf_caps );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpunum β€” the CPU from which to get capabilities info. like, which CPU are we checking on πŸ’…
  • perf_caps β€” ptr to cppc_perf_caps. See cppc_acpi.h. 🫢

πŸ”₯ RETURN πŸ”₯

0 for success with perf_caps populated, else -ERRNO. periodt. πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./drivers/acpi/cppc_acpi.c is the main character here, and these related pages are the whole group chat:


mwah πŸ’‹ sourced from ./drivers/acpi, dated October 2026 β€” ok bye bestie, go check cppc_acpi.h πŸŽ€

πŸ“¦ where this page comes from