X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2Fvfs.h;h=00404a31751dd0d34d3c432d655eb0beed55db93;hb=529b552a3dfa44c5ca717add7919c33d00a3f3db;hp=a27f8c50f08a5228d0fdcdaab1448033be77c321;hpb=9beb36bafc2956e34cd00512f8e327086a49fc7a;p=lttng-ust.git diff --git a/libringbuffer/vfs.h b/libringbuffer/vfs.h index a27f8c50..00404a31 100644 --- a/libringbuffer/vfs.h +++ b/libringbuffer/vfs.h @@ -80,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 */