[PATCH v4 08/24] ring-buffer: Expose buffer_data_page material
Steven Rostedt
rostedt at goodmis.org
Fri May 9 12:54:12 PDT 2025
On Tue, 6 May 2025 17:48:04 +0100
Vincent Donnefort <vdonnefort at google.com> wrote:
> In preparation for allowing the write of ring-buffer compliant pages
> outside of ring_buffer.c, move buffer_data_page and timestamps
> encoding functions into the publicly available ring_buffer.h.
>
> Signed-off-by: Vincent Donnefort <vdonnefort at google.com>
Let's create a new file for this instead of adding it to ring_buffer.h.
Although it's being used by remote buffers, I rather not make this
something that people may think they can access anywhere.
Perhaps: ring_buffer_types.h
with a comment stating that these are to be used by the remote ring buffers
and the ring buffer internals and should not be used directly.
-- Steve
More information about the linux-arm-kernel
mailing list