profile_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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