STRUCT TRIP_STATS(9)
β¨ NAME β¨
okay bestie, gather round β this is the Kernel API Manual page for struct trip_stats, aka Thermal trip statistics. Itβs giving βreceipts for when things got too hot,β and honestly? Iconic. π
π₯
πΈ SYNOPSIS πΈ
Hereβs the whole struct, no cap:
struct trip_stats {
ktime_t timestamp;
ktime_t duration;
int trip_temp;
int trip_hyst;
int count;
int min;
int avg;
};
π¦ Members π¦
timestampβ the trip crossing timestamp. The exact moment it happened, fr. β°durationβ total time when the zone temperature was above the trip point. Like the whole βtoo hotβ era, measured. π₯trip_tempβ trip temperature at mitigation start. The temp where mitigation said hi. π‘οΈtrip_hystβ trip hysteresis at mitigation start. The hysteresis value when mitigation kicked off, periodt. πcountβ the number of times the zone temperature was above the trip point. How many times we crossed the line, lowkey. πminβ minimum recorded temperature above the trip point. The chillest of the too-hot temps. π§avgβ average temperature above the trip point. The main-character mean. π
π Description π
The trip_stats structure has the relevant information to show the statistics related to temperature going above a trip point. Basically, itβs all the stats for when your thermal zone got a little too toasty. π«Άβ¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/thermal/thermal_debugfs.c struct cdev_debugfs(9)struct cdev_record(9)struct tz_episode(9)struct tz_debugfs(9)struct thermal_debugfs(9)thermal_debug_cdev_state_update(9)thermal_debug_cdev_add(9)thermal_debug_cdev_remove(9)
thatβs the whole vibe check, bestie β source/version: ./drivers/thermal, dated October 2026, and the page is struct trip_stats(9). xoxo, go keep those thermal zones iconic ππβ¨
π¦ 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