_aggregate_profiles(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _aggregate_profiles β€” aggregate the profiles for the legacy sysfs interface

okay bestie, welcome to the kernel API manual for _aggregate_profiles(9). she's a little helper living in the ACPI platform profile corner of the kernel, and her whole job is literally right there in the name: aggregating the profiles for the legacy sysfs interface. no cap. ✨


🌸 SYNOPSIS 🌸

int _aggregate_profiles (struct device *dev , void *data );

that's the whole vibe check β€” she takes two things and hands you back an int. simple, iconic, done. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device. yes, the device. she needs to know which one we're talking about, bestie. πŸ’–
  • data β€” the profile to return. this is the payload you're passing through, and it's a void *, so it's giving mystery-box main character energy. 🎁

⭐ RETURN ⭐

  • 0 on success β€” slay, everything worked. πŸ₯³
  • -errno on failure β€” not slay, something went wrong, and the negative errno tells you what. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

if you're going down this rabbit hole (and honestly, respect), here's the whole friend group. every single one, exactly as written:

like, that's the whole gc right there. go read them all, iykyk. 🫢


and that's the page, bestie β€” short, sweet, and living rent-free in ./drivers/acpi. this edition dropped October 2026, so mark your calendar and stan responsibly. πŸ’œπŸŒˆ

πŸ“¦ where this page comes from