STRUCT PMC_INFO(9)
π struct pmc_info(9) π
okay so bestie, buckle up β this is a page from the Kernel API Manual, and today's main character is struct pmc_info. it's literally just a lil structure that keeps pmc info. that's the whole vibe. π
β¨ NAME β¨
struct pmc_info β Structure to keep pmc info
like, that's it. that's the job. it holds pmc info and it does it slayfully. π
πΈ SYNOPSIS πΈ
struct pmc_info {
u16 devid;
const struct pmc_reg_map *map;
};
look at her. two members. no notes. π
π¦ Members π¦
devidβ the device id of the pmc device. yeah, that's the whole description, she's mysterious like that. π₯mapβ a pointer to apmc_reg_mapstruct that contains platform specific attributes. so like, every platform gets to have its own little personality and this pointer is how we find it. ngl that's kind of iconic. β¨
π SEE ALSO π
- Kernel file
./drivers/platform/x86/intel/pmc/core.h struct pmc_reg_map(9)struct pmc(9)struct pmc_dev(9)struct pmc_dev_info(9)
the whole friend group fr fr. go read them too, they're all in the ./drivers/platform/x86/intel/pmc directory and they all ate. π«Ά
lowkey a reminder: this page is from October 2026, so if you're reading this from the future β hi, hope the kernel's still slaying. π
and that's the page bestie, mwah π β sourced straight from ./drivers/platform/x86/intel/pmc, struct pmc_info(9), October 2026 edition. periodt. π
π¦ 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