thermal_debug_cdev_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, this is thermal_debug_cdev_add(9) from the Kernel API Manual, and its whole little mission is literally: add a cooling device debugfs entry. that's the vibe. πŸ’…


✨ SYNOPSIS ✨

void thermal_debug_cdev_add (struct thermal_cooling_device *cdev , int state );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cdev β€” a pointer to a cooling device. yep, that's the one.
  • state β€” current state of the cooling device. no cap.

πŸ”₯ DESCRIPTION πŸ”₯

bestie, here's the tea: it allocates a cooling device object for debug, initializes the statistics, and creates the entries in sysfs. it's giving setup-and-go energy, fr fr. πŸ’–

the return type is void, so don't go chasing a return value β€” there isn't one to find. 🫢

🌈 SEE ALSO 🌈

go peek at these, iykyk:


and that's the whole page, bestie πŸŽ€ it comes from ./drivers/thermal, dated October 2026, and it's literally called thermal_debug_cdev_add(9) β€” periodt. πŸ’œβœ¨

πŸ“¦ where this page comes from