projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix UST define in global headers
[lttng-tools.git]
/
include
/
lttng-share.h
diff --git
a/include/lttng-share.h
b/include/lttng-share.h
index f6169bfd0deb743ade9f7ca254406d59dcbe3f5c..78abff6ae7c2e34b4f515b0be09385fc5507a9b6 100644
(file)
--- a/
include/lttng-share.h
+++ b/
include/lttng-share.h
@@
-21,6
+21,8
@@
#include <stdlib.h>
#include <stdlib.h>
+#include <lttng/lttng.h>
+
/* Default channel attributes */
#define DEFAULT_CHANNEL_NAME "channel0"
#define DEFAULT_CHANNEL_OVERWRITE 0 /* usec */
/* Default channel attributes */
#define DEFAULT_CHANNEL_NAME "channel0"
#define DEFAULT_CHANNEL_OVERWRITE 0 /* usec */
@@
-50,6
+52,8
@@
#define DEFAULT_UST_CHANNEL_SUBBUF_SIZE 4096 /* bytes */
/* Must be a power of 2 */
#define DEFAULT_UST_CHANNEL_SUBBUF_NUM 4
#define DEFAULT_UST_CHANNEL_SUBBUF_SIZE 4096 /* bytes */
/* Must be a power of 2 */
#define DEFAULT_UST_CHANNEL_SUBBUF_NUM 4
+/* See lttng-ust.h enum lttng_ust_output */
+#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP
/*
* Takes a pointer x and transform it so we can use it to access members
/*
* Takes a pointer x and transform it so we can use it to access members
This page took
0.023846 seconds
and
4
git commands to generate.