lkml.org 
[lkml]   [2023]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@linaro.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@goodmis.org>
> Suggested-by: Steven Rostedt <rostedt@goodmis.org>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.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%)

\
 
 \ /
  Last update: 2023-03-27 00:47    [W:1.123 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site