]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ring-buffer: Export buffer_data_page and macros
authorVincent Donnefort <vdonnefort@google.com>
Mon, 9 Mar 2026 16:24:58 +0000 (16:24 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 9 Mar 2026 16:33:55 +0000 (12:33 -0400)
commit93ae1b76fff9e745f870a2f2cd32f472328c4a8f
treebbc1a566ae08f486a595ac29947f3ce03fc3dee0
parent5f3efd1dcebc35d44cce39630ae00980a45d9247
ring-buffer: Export buffer_data_page and macros

In preparation for allowing the writing of ring-buffer compliant pages
outside of ring_buffer.c, move buffer_data_page and timestamps encoding
macros into the publicly available ring_buffer_types.h.

Link: https://patch.msgid.link/20260309162516.2623589-13-vdonnefort@google.com
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/linux/ring_buffer_types.h [new file with mode: 0644]
kernel/trace/ring_buffer.c