_aggregate_profiles(9)
π _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 avoid *, so it's giving mystery-box main character energy. π
β RETURN β
0on success β slay, everything worked. π₯³-errnoon 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:
- Kernel file
./drivers/acpi/platform_profile.c _commmon_choices_show(9)(yes, three m's, that's canon, don't come for me π)_store_class_profile(9)_notify_class_profile(9)get_class_profile(9)name_show(9)choices_show(9)profile_show(9)profile_store(9)_aggregate_choices(9)_remove_hidden_choices(9)platform_profile_choices_show(9)_store_and_notify(9)platform_profile_show(9)platform_profile_store(9)platform_profile_notify(9)platform_profile_cycle(9)platform_profile_register(9)platform_profile_remove(9)devm_platform_profile_register(9)
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
- 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