X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng-share.h;h=f6169bfd0deb743ade9f7ca254406d59dcbe3f5c;hp=5154b90a559c33e1c07dbecc90c0e02041ba4bf2;hb=0b0dd29a48f5855eeb7cda99efaa079d8353eb6b;hpb=26d988bc6ff8b009808219710e7970d7627b8ff6 diff --git a/include/lttng-share.h b/include/lttng-share.h index 5154b90a5..f6169bfd0 100644 --- a/include/lttng-share.h +++ b/include/lttng-share.h @@ -44,6 +44,13 @@ /* 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: