STRUCT MLXBF_PMC_ATTRIBUTE(9)
π
struct mlxbf_pmc_attribute(9) β Kernel API Manual π«Ά
okay so bestie, welcome to the <pink>Kernel API Manual</pink> page for <purple>struct mlxbf_pmc_attribute</purple> π this is the little struct that holds attribute and block info for each sysfs entry, and honestly? itβs serving tiny metadata basket realness π§Ίβ¨
πΈ NAME πΈ
struct mlxbf_pmc_attribute β the structure to hold attribute and block info for each sysfs entry π
like, thatβs literally its whole job. no cap. it keeps the attribute tea and the block info cute and together for each sysfs entry π
β¨ SYNOPSIS β¨
struct mlxbf_pmc_attribute {
struct device_attribute dev_attr;
unsigned int index;
unsigned int nr;
};
π Members π
dev_attrβ the Device attribute struct itself π«Ά literally the device attribute struct, sitting there being iconic.indexβ index to identify counter number within a block π’ yep, itβs the index for finding the counter number inside a block.nrβ block number to which the sysfs belongs π§ the block number that the sysfs belongs to, periodt.
π SEE ALSO π
- Kernel file
./drivers/platform/mellanox/mlxbf-pmc.cπ struct mlxbf_pmc_block_info(9)π¦struct mlxbf_pmc_context(9)πstruct mlxbf_pmc_events(9)π
okay thatβs the whole vibe check, bestie π this page comes from ./drivers/platform/mellanox, dated October 2026, and itβs all about struct mlxbf_pmc_attribute(9). slay, go read the kernel, ily β¨π
π¦ 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