Skip to content

Commit 6e3b3ac

Browse files
committed
tracing: Remove unused buffer_page field from trace_array_cpu structure
The trace_array_cpu had a "buffer_page" field that was originally going to be used as a backup page for the ring buffer. But the ring buffer has its own way of reusing pages and this field was never used. Remove it. 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://lore.kernel.org/20250505212236.738849456@goodmis.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent c4a80c0 commit 6e3b3ac

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

kernel/trace/trace.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ struct trace_array;
184184
*/
185185
struct trace_array_cpu {
186186
local_t disabled;
187-
void *buffer_page; /* ring buffer spare */
188187

189188
unsigned long entries;
190189
unsigned long saved_latency;

0 commit comments

Comments
 (0)