Add default ust channel attributes
[lttng-tools.git] / include / lttng-share.h
index 5154b90a559c33e1c07dbecc90c0e02041ba4bf2..f6169bfd0deb743ade9f7ca254406d59dcbe3f5c 100644 (file)
 /* See lttng-kernel.h enum lttng_kernel_output for channel output */
 #define DEFAULT_KERNEL_CHANNEL_OUTPUT       LTTNG_EVENT_SPLICE
 
+/* User space defaults */
+
+/* Must be a power of 2 */
+#define DEFAULT_UST_CHANNEL_SUBBUF_SIZE     4096    /* bytes */
+/* Must be a power of 2 */
+#define DEFAULT_UST_CHANNEL_SUBBUF_NUM      4
+
 /*
  * Takes a pointer x and transform it so we can use it to access members
  * without a function call. Here an example:
This page took 0.02312 seconds and 4 git commands to generate.