X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ioctl.h;h=139cb635fa47b2aeb7ff9df7c3d7119a3ea83a7a;hp=e7ff50b24349e0f152856a30177f36b6cbebb8f3;hb=193978ff449c976408fddf92a906501e105b4b0a;hpb=abf443a135ffe2dbaa4679f5b3f7bf79815ebe9c diff --git a/src/common/kernel-ctl/kernel-ioctl.h b/src/common/kernel-ctl/kernel-ioctl.h index e7ff50b24..139cb635f 100644 --- a/src/common/kernel-ctl/kernel-ioctl.h +++ b/src/common/kernel-ctl/kernel-ioctl.h @@ -64,6 +64,8 @@ * so it can be read again. */ #define RING_BUFFER_METADATA_CACHE_DUMP _IO(0xF6, 0x10) +/* Clear ring buffer content */ +#define RING_BUFFER_CLEAR _IO(0xF6, 0x11) /* returns the timestamp begin of the current sub-buffer */ #define LTTNG_RING_BUFFER_GET_TIMESTAMP_BEGIN _IOR(0xF6, 0x20, uint64_t)