Resync with kernel LTTng headers
[lttng-ust.git] / libringbuffer / vfs.h
index 0a09637af2b37c4e036c418745132a7198689c2f..00404a31751dd0d34d3c432d655eb0beed55db93 100644 (file)
@@ -14,9 +14,6 @@
  * Dual LGPL v2.1/GPL v2 license.
  */
 
-#include <linux/fs.h>
-#include <linux/poll.h>
-
 /* VFS API */
 
 extern const struct file_operations lib_ring_buffer_file_operations;
@@ -83,5 +80,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.029179 seconds and 4 git commands to generate.