EEH_SHOW_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– EEH_SHOW_ATTR(9) πŸ’–

okay so bestie, this page is from the Kernel API Manual, and it's literally about making a sysfs entry for eeh statistic. lowkey iconic macro behavior ✨

🌸 NAME 🌸

EEH_SHOW_ATTR β€” - Create sysfs entry for eeh statistic πŸŽ€

✨ SYNOPSIS ✨

EEH_SHOW_ATTR (_name , _memb , _format );

🫢 ARGUMENTS 🫢

  • _name β€” the name of the file in the sysfs directory, periodt πŸ’…
  • _memb β€” the name of the member in struct eeh_dev to access, iykyk πŸ¦‹
  • _format β€” the printf format for display, slay ✨

🧚 DESCRIPTION 🧚

okay so all of the attributes look very similar, right? πŸ‘― So this just auto-gens a cut-n-paste routine to display them. The way that's such a vibe β€” no cap, it's giving copy-paste but make it automatic πŸ’–

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./arch/powerpc/kernel/eeh_sysfs.c β€” go look bestie πŸ“‚

mwah πŸ’‹ this cutie came from ./arch/powerpc/kernel, dated October 2026. πŸŽ€

πŸ“¦ where this page comes from