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 <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent c4a80c0 commit 6e3b3ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)