Messages in this thread | | | Date | Tue, 7 Mar 2023 10:51:59 -0500 | From | Steven Rostedt <> | 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@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%)
| |