include/linux/simple_ring_buffer.h
0 → 100644
+57
−0
+3
−0
+1
−0
kernel/trace/simple_ring_buffer.c
0 → 100644
+464
−0
Loading
Add a simple implementation of the kernel ring-buffer. This intends to be used later by ring-buffer remotes such as the pKVM hypervisor, hence the need for a cut down version (write only) without any dependency. Link: https://patch.msgid.link/20260309162516.2623589-14-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>