• Javi Merino's avatar
    thermal: power_allocator: trace the real requested power · d5f83109
    Javi Merino authored
    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: default avatarJavi Merino <javi.merino@arm.com>
    Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
    d5f83109
power_allocator.c 15 KB