]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: trace: Trace when a cooling device's state is updated
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 29 Jul 2014 10:50:49 +0000 (11:50 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 29 Jul 2014 13:27:54 +0000 (09:27 -0400)
commit39811569e43a81417bc0ddca3d0c7658c3dcd4b0
tree72f3375f4000c27ba0f15d0a88c64d5536c32a8d
parent100a8fdbf525bb11796692a713c267be6523a890
thermal: trace: Trace when a cooling device's state is updated

Introduce and use an event to trace when a cooling device's state is
updated. This is useful to follow the effect of governor decisions on
cooling devices.

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