Kernel-ctl: Expose kernel clear buffer operation
[lttng-tools.git] / src / common / kernel-ctl / kernel-ioctl.h
index 3c4f4129e63c8c0129521ca9ad617599927a3ce3..3f3e2ad8787175906c5fe7b4d2c4ca0b8dfc3bd9 100644 (file)
@@ -59,6 +59,8 @@
 #define RING_BUFFER_SNAPSHOT_SAMPLE_POSITIONS  _IO(0xF6, 0x0E)
 /* Flush the current sub-buffer, even if empty. */
 #define RING_BUFFER_FLUSH_EMPTY                        _IO(0xF6, 0x0F)
+/* 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)
This page took 0.023652 seconds and 5 git commands to generate.