[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230307105159.5d137b28@gandalf.local.home>
Date: Tue, 7 Mar 2023 10:51:59 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: rafael@...nel.org, rui.zhang@...el.com, amitk@...nel.org,
Amit Daniel Kachhap <amit.kachhap@...il.com>,
Viresh Kumar <viresh.kumar@...aro.org>,
Lukasz Luba <lukasz.luba@....com>,
Masami Hiramatsu <mhiramat@...nel.org>,
linux-pm@...r.kernel.org (open list:THERMAL),
linux-kernel@...r.kernel.org (open list),
linux-trace-kernel@...r.kernel.org (open list:TRACING)
Subject: Re: [PATCH v1 01/11] thermal/core: Relocate the traces definition
in thermal directory
On Tue, 7 Mar 2023 14:37:25 +0100
Daniel Lezcano <daniel.lezcano@...aro.org> wrote:
> The traces are exported but only local to the thermal core code. On
> the other side, the traces take the thermal zone device structure as
> argument, thus they have to rely on the exported thermal.h header
> file. As we want to move the structure to the private thermal core
> header, first we have to relocate those traces to the same place as
> many drivers do.
>
> Cc: Steven Rostedt <rostedt@...dmis.org>
> Suggested-by: Steven Rostedt <rostedt@...dmis.org>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@...dmis.org>
-- Steve
> ---
> drivers/thermal/Makefile | 3 ++-
> drivers/thermal/cpufreq_cooling.c | 2 +-
> drivers/thermal/devfreq_cooling.c | 2 +-
> drivers/thermal/gov_fair_share.c | 2 +-
> drivers/thermal/gov_power_allocator.c | 2 +-
> drivers/thermal/gov_step_wise.c | 2 +-
> drivers/thermal/thermal_core.c | 2 +-
> drivers/thermal/thermal_helpers.c | 3 +--
> .../events/thermal.h => drivers/thermal/thermal_trace.h | 6 ++++++
> .../thermal/thermal_trace_ipa.h | 6 ++++++
> 10 files changed, 21 insertions(+), 9 deletions(-)
> rename include/trace/events/thermal.h => drivers/thermal/thermal_trace.h (97%)
> rename include/trace/events/thermal_power_allocator.h => drivers/thermal/thermal_trace_ipa.h (96%)
Powered by blists - more mailing lists