thermal: trace: Trace when temperature is above a trip point
[deliverable/linux.git] / drivers / thermal / thermal_core.c
index c74c78d28699f0c146a6b9dad27666b8240c2ae9..454884aa15f776d0f607c186612b481bd49904b3 100644 (file)
@@ -371,6 +371,8 @@ static void handle_critical_trips(struct thermal_zone_device *tz,
        if (tz->temperature < trip_temp)
                return;
 
+       trace_thermal_zone_trip(tz, trip, trip_type);
+
        if (tz->ops->notify)
                tz->ops->notify(tz, trip, trip_type);
 
This page took 0.025864 seconds and 5 git commands to generate.