platform_profile_show(9)
β¨ NAME β¨
okay so bestie, meet platform_profile_show(9) from the Kernel API Manual πβ¨. This lil function is literally the βshow the current profileβ girlie for the legacy sysfs interface β it's giving useful kernel helper energy, and we're obsessed π
.
πΈ SYNOPSIS πΈ
ssize_t platform_profile_show (struct kobject *kobj , struct
kobj_attribute *attr , char *buf );
π ARGUMENTS π
kobjβ the kobject, bestie. That's the whole vibe.attrβ the attribute. Yes, that attribute π«Ά.bufβ the buffer to write to. That's where the output goes, no cap β¨.
π RETURN π
It returns the number of bytes written, periodt. That's the return contract, and it ate π.
π¦ SEE ALSO π¦
The kernel file ./drivers/acpi/platform_profile.c is home base π‘, and the SEE ALSO squad is:
_commmon_choices_show(9)_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)_aggregate_profiles(9)_store_and_notify(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 π β source/version: ./drivers/acpi; date: October 2026. TTYL bestie, go show those profiles ππ
π¦ 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