get_class_profile(9)
π get_class_profile(9) β the class device profile vibe check π
okay so bestie, welcome to the get_class_profile(9) manual page. This is the kernel API manual moment where we look at get_class_profile, and it's literally here to show the current profile for a class device. no cap. π«Ά
β¨ NAME β¨
get_class_profile β show the current profile for a class device
π¦ SYNOPSIS π¦
int get_class_profile (struct device *dev , enum platform_profile_option
*profile );
πΈ ARGUMENTS πΈ
devβ the class device. That's the device we're checking on, main character energy and all. πprofileβ the profile to return. Like, hand over the current profile bestie, we're waiting. β¨
π₯ RETURN π₯
0 on success, -errno on failure.
so if it works you get0, and if it doesn't you get a negativeerrnosituation. that's the whole return vibe, periodt. π
π SEE ALSO π
Kernel file ./drivers/acpi/platform_profile.c β and it's linked with all of these:
_commmon_choices_show(9)_store_class_profile(9)_notify_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)_aggregate_profiles(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)
mwah π this little icon lives at source/version ./drivers/acpi, dated October 2026. catch you in the kernel, bestie β stay slay and read your man pages. ππ
π¦ 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