diff options
author | Lukasz Luba <[email protected]> | 2022-06-13 13:43:25 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-07-28 17:29:42 +0200 |
commit | 3f7ced7ac9af43fbc0b886aa9ef4397a5fa4b6e1 (patch) | |
tree | a417fbaf45b58420e6aac67a0768b38531e22679 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 3cbf6a8ab70b21de75bc389d384911392cf7f616 (diff) |
drivers/thermal/cpufreq_cooling : Refactor thermal_power_cpu_get_power tracing
Simplify the thermal_power_cpu_get_power trace event by removing
complicated cpumask and variable length array. Now the tools parsing trace
output don't have to hassle to get this power data. The simplified format
version uses 'policy->cpu'. Remove also the 'load' information completely
since there is very little value of it in this trace event. To get the
CPUs' load (or utilization) there are other dedicated trace hooks in the
kernel. This patch also simplifies and speeds-up the main cooling code
when that trace event is enabled.
Rename the trace event to avoid confusion of tools which parse the trace
file.
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Lukasz Luba <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions