thermal: trace: Trace when temperature is above a trip point
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 29 Jul 2014 10:50:50 +0000 (11:50 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 29 Jul 2014 13:28:43 +0000 (09:28 -0400)
commit208cd822a19e683bc890f6708786f2420e172d76
treed4535734ba2e400b17eaabd365014c6b996ff9f1
parent39811569e43a81417bc0ddca3d0c7658c3dcd4b0
thermal: trace: Trace when temperature is above a trip point

Create a new event to trace when the temperature is above a trip
point. Use the trace-point when handling non-critical and critical
trip pionts.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/fair_share.c
drivers/thermal/step_wise.c
drivers/thermal/thermal_core.c
include/trace/events/thermal.h