mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: allow using ring in readwrite mode
This is a first step to be able to use the ring buffer as the backing buffer for the SysprofCaptureWriter.
This commit is contained in:
@ -56,6 +56,8 @@ typedef gboolean (*MappedRingBufferCallback) (gconstpointer data,
|
||||
G_GNUC_INTERNAL
|
||||
MappedRingBuffer *mapped_ring_buffer_new_reader (gsize buffer_size);
|
||||
G_GNUC_INTERNAL
|
||||
MappedRingBuffer *mapped_ring_buffer_new_readwrite (gsize buffer_size);
|
||||
G_GNUC_INTERNAL
|
||||
MappedRingBuffer *mapped_ring_buffer_new_writer (gint fd);
|
||||
G_GNUC_INTERNAL
|
||||
gint mapped_ring_buffer_get_fd (MappedRingBuffer *self);
|
||||
|
||||
Reference in New Issue
Block a user