STRUCT TRIP_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ”₯


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