projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add sem_wait timeout on the kconsumerd thread
[lttng-tools.git]
/
include
/
lttng-share.h
diff --git
a/include/lttng-share.h
b/include/lttng-share.h
index 78abff6ae7c2e34b4f515b0be09385fc5507a9b6..399de4f6e6f610ee63da83ed72050213dec8deb7 100644
(file)
--- a/
include/lttng-share.h
+++ b/
include/lttng-share.h
@@
-55,6
+55,13
@@
/* See lttng-ust.h enum lttng_ust_output */
#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP
/* See lttng-ust.h enum lttng_ust_output */
#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP
+/*
+ * Default timeout value for the sem_timedwait() call. Blocking forever is not
+ * wanted so a timeout is used to control the data flow and not freeze the
+ * session daemon.
+ */
+#define DEFAULT_SEM_WAIT_TIMEOUT 30 /* in seconds */
+
/*
* 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.030376 seconds
and
5
git commands to generate.