Commit 93c88d0
committed
tracing: Make tracing_update_buffers() take NULL for global_trace
The trace.c file has become a dumping ground for all tracing code and has
become quite large. In order to move the trace_printk functions out of it
these functions can not access global_trace directly, as that is something
that needs to stay static in trace.c.
Have tracing_update_buffers() take NULL for its trace_array to denote it
should work on the global_trace top level trace_array allows that function
to be used outside of trace.c and still update the global_trace
trace_array.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://patch.msgid.link/20260208032450.318864210@kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 1c53d78 commit 93c88d0
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3234 | 3234 | | |
3235 | 3235 | | |
3236 | 3236 | | |
3237 | | - | |
| 3237 | + | |
3238 | 3238 | | |
3239 | 3239 | | |
3240 | 3240 | | |
| |||
6186 | 6186 | | |
6187 | 6187 | | |
6188 | 6188 | | |
| 6189 | + | |
| 6190 | + | |
| 6191 | + | |
6189 | 6192 | | |
6190 | 6193 | | |
6191 | 6194 | | |
| |||
0 commit comments