Kernel-ctl: Expose kernel clear buffer operation
[lttng-tools.git] / src / common / kernel-ctl / kernel-ioctl.h
index e7ff50b24349e0f152856a30177f36b6cbebb8f3..139cb635fa47b2aeb7ff9df7c3d7119a3ea83a7a 100644 (file)
@@ -64,6 +64,8 @@
  * so it can be read again.
  */
 #define RING_BUFFER_METADATA_CACHE_DUMP        _IO(0xF6, 0x10)
  * 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)
 
 /* 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.023413 seconds and 5 git commands to generate.