projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add default ust channel attributes
[lttng-tools.git]
/
include
/
lttng-share.h
diff --git
a/include/lttng-share.h
b/include/lttng-share.h
index 5154b90a559c33e1c07dbecc90c0e02041ba4bf2..f6169bfd0deb743ade9f7ca254406d59dcbe3f5c 100644
(file)
--- 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
/* 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:
/*
* 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.022742 seconds
and
4
git commands to generate.