diff options
Diffstat (limited to 'src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/thermal/thermal_zone_trip/format')
-rw-r--r-- | src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/thermal/thermal_zone_trip/format | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/thermal/thermal_zone_trip/format b/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/thermal/thermal_zone_trip/format new file mode 100644 index 000000000..7d5635019 --- /dev/null +++ b/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/thermal/thermal_zone_trip/format @@ -0,0 +1,14 @@ +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"}) |