thermal: power_allocator: trace the real requested power
authorJavi Merino <javi.merino@arm.com>
Fri, 3 Jul 2015 09:24:33 +0000 (10:24 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 3 Aug 2015 02:36:57 +0000 (19:36 -0700)
commitd5f831090191fa26a539e12456af64547ab11dde
tree8359119b4dcd6cfdb758d01dac0687b42956bf30
parent528464eaa46ae1bd319882e4dd3495802e55b8c4
thermal: power_allocator: trace the real requested power

The power allocator governor uses ftrace to output a bunch of internal
data for debugging and tuning.  Currently, the requested power it
outputs is the "weighted" requested power, that is, what each cooling
device has requested multiplied by the cooling device weight.  It is
more useful to trace the real request, without any weight being
applied.

This commit only affects the data traced, there is no functional change.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/power_allocator.c