platform_profile_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


mwah πŸ’‹ β€” source/version: ./drivers/acpi; date: October 2026. TTYL bestie, go show those profiles πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from