profile_show(9)
π profile_show π
okay bestie, this is profile_show(9) from the Kernel API Manual, and it's literally here to show the current profile for a class device. group-chat summary: device in, attribute in, buffer in, bytes-written out. slay. β¨
β¨ NAME β¨
profile_show β Show the current profile for a class device
π¦ SYNOPSIS π¦
ssize_t profile_show (struct device *dev , struct device_attribute *attr
, char *buf );
π ARGUMENTS π
devβ The device. yes bestie, the device.attrβ The attribute. that one.bufβ The buffer to write to. the place where the writing happens.
π RETURN π
The number of bytes written. that's it β no cap, that's the return value.
π₯ SEE ALSO π₯
Kernel file ./drivers/acpi/platform_profile.c, and the whole friend group:
_commmon_choices_show(9)_store_class_profile(9)_notify_class_profile(9)get_class_profile(9)name_show(9)choices_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)
cute sign-off: source/version ./drivers/acpi Β· date October 2026 Β· page profile_show(9) β bye 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