[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220613094152.yfduve64kdp6ztxg@vireshk-i7>
Date: Mon, 13 Jun 2022 15:11:52 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Lukasz Luba <lukasz.luba@....com>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
daniel.lezcano@...aro.org, amitk@...nel.org, rui.zhang@...el.com,
rafael@...nel.org, dietmar.eggemann@....com
Subject: Re: [PATCH 2/3] thermal: cpufreq_cooling : Refactor
thermal_power_cpu_get_power
On 10-06-22, 11:03, Lukasz Luba wrote:
> 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.
>
> Signed-off-by: Lukasz Luba <lukasz.luba@....com>
> ---
> drivers/thermal/cpufreq_cooling.c | 18 +-----------------
> include/trace/events/thermal.h | 28 ++++++++--------------------
> 2 files changed, 9 insertions(+), 37 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
viresh
Powered by blists - more mailing lists