devfreq_cooling: add trace information
authorJavi Merino <javi.merino@arm.com>
Thu, 10 Sep 2015 17:09:31 +0000 (18:09 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 30 Oct 2015 17:41:38 +0000 (10:41 -0700)
commit9876b1a4431a3f0959c70e1d817ecab6440cb2e6
treeb6daed14bd0206687c8b645b5295c273a1306d71
parenta76caf55e5b356ba20a5a43ac4d9f7a04b20941d
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>
drivers/thermal/devfreq_cooling.c
include/trace/events/thermal.h