thermal: gov_power_allocator: Change trace functions
authorLukasz Luba <lukasz.luba@arm.com>
Wed, 20 Dec 2023 23:17:48 +0000 (23:17 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 29 Dec 2023 17:01:00 +0000 (18:01 +0100)
commit792c3dc08ddcf29a514156bb72b3d2ad4998c69f
treefc1c369b9278b0c33a89c2638ba857c80efe7658
parent3d827317b17febba02b6b976fa910364221fecaf
thermal: gov_power_allocator: Change trace functions

Change trace event trace_thermal_power_allocator() to not use dynamic
array for requested power and granted power for all power actors.
Instead, simplify the trace event and print other simple values.

Add new trace event to print power actor information of requested power
and granted power. That trace event would be called in a loop for each
power actor. The trace data would be easier to parse comparing to the
dynamic array implementation.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/gov_power_allocator.c
drivers/thermal/thermal_trace_ipa.h