blob: 7d5635019d05438b9744e8006ff3360001d1e2b5 [file] [log] [blame]
name: thermal_zone_trip
ID: 858
format:
field:unsigned short common_type; offset:0; size:2; signed:0;
field:unsigned char common_flags; offset:2; size:1; signed:0;
field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
field:int common_pid; offset:4; size:4; signed:1;
field:__data_loc char[] thermal_zone; offset:8; size:4; signed:0;
field:int id; offset:12; size:4; signed:1;
field:int trip; offset:16; size:4; signed:1;
field:enum thermal_trip_type trip_type; offset:20; size:4; signed:0;
print fmt: "thermal_zone=%s id=%d trip=%d trip_type=%s", __get_str(thermal_zone), REC->id, REC->trip, __print_symbolic(REC->trip_type, { 3, "CRITICAL"}, { 2, "HOT"}, { 1, "PASSIVE"}, { 0, "ACTIVE"})