kernel-ctl: Expose kernel clear buffer operation
[lttng-tools.git] / src / common / kernel-ctl / kernel-ioctl.h
index 8d39abbe38ec882a3c691e07172511a2ff204b27..f38f5dd671d3577c1de8d18d8a138c17fa07e04a 100644 (file)
@@ -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)
This page took 0.030635 seconds and 4 git commands to generate.