STRUCT MLXBF_PMC_ATTRIBUTE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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