thermal_deb...state_update(9)
π NAME π
thermal_debug_cdev_state_update β okay so this is the function that updates a cooling device state change, bestie β¨
π¦ SYNOPSIS π¦
void thermal_debug_cdev_state_update (const struct
thermal_cooling_device *cdev , int new_state );
πΈ ARGUMENTS πΈ
cdevβ a pointer to a cooling device, literally just a pointer to the cooling device in question π«Άnew_stateβ an integer corresponding to the new cooling device state, ngl it's giving "the new state, as an int" π
π DESCRIPTION π
So what this icon actually does: it computes a transition, and also the duration of the previous state's residency. That's the whole vibe check β transition computed, previous residency duration measured, done, periodt π β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/thermal/thermal_debugfs.cπ struct cdev_debugfs(9)struct cdev_record(9)struct trip_stats(9)struct tz_episode(9)struct tz_debugfs(9)struct thermal_debugfs(9)thermal_debug_cdev_add(9)thermal_debug_cdev_remove(9)
And that's the whole page, bestie π this came from the Kernel API Manual (that's the manual name, folded in all cute for you π), lives under ./drivers/thermal, and it's dated October 2026 β so yeah, from the future, main character energy fr fr ππ¦β
π¦ 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