thermal: trace: Trace temperature changes
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 29 Jul 2014 10:50:48 +0000 (11:50 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 29 Jul 2014 13:27:54 +0000 (09:27 -0400)
commit100a8fdbf525bb11796692a713c267be6523a890
tree022fba36cc4c2ddc321ca7f069c987e491877f61
parent47d104ba5879790c7c91c3390b0b08399e168efe
thermal: trace: Trace temperature changes

Create a new event to trace the temperature of a thermal zone. Using
this event trace the temperature changes of the thermal zone every-time
it is updated.

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/thermal_core.c
include/trace/events/thermal.h [new file with mode: 0644]