devfreq_cooling: add trace information
authorJavi Merino <javi.merino@arm.com>
Thu, 10 Sep 2015 17:09:31 +0000 (18:09 +0100)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 7 Jul 2016 05:32:09 +0000 (14:32 +0900)
commit48e3a63cf6b524102525212df681c1d83a1575a3
tree0b326547c3cec368f1575b2032a58f80573a3565
parenta4c00ddbd86a6e9a20f12e99aa7081bf2e817b29
devfreq_cooling: add trace information

Tracing is useful for debugging and performance tuning.  Add similar
traces to what's present in the cpu cooling device.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
[jy0922.shim: apply from mainline with fixup of fuzz]
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/thermal/devfreq_cooling.c
include/trace/events/thermal.h