Add ring buffer flush ioctl
[lttng-modules.git] / lib / ringbuffer / vfs.h
index 0a09637af2b37c4e036c418745132a7198689c2f..d073e4c555fe89e22b0ff78afcc22b0ba2f75c2f 100644 (file)
@@ -83,5 +83,7 @@ long lib_ring_buffer_compat_ioctl(struct file *filp, unsigned int cmd,
 #define RING_BUFFER_GET_MMAP_LEN               _IOR(0xF6, 0x0A, unsigned long)
 /* returns the offset of the subbuffer belonging to the mmap reader. */
 #define RING_BUFFER_GET_MMAP_READ_OFFSET       _IOR(0xF6, 0x0B, unsigned long)
+/* flush the current sub-buffer */
+#define RING_BUFFER_FLUSH                      _IO(0xF6, 0x0C)
 
 #endif /* _LINUX_RING_BUFFER_VFS_H */
This page took 0.024254 seconds and 4 git commands to generate.