projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: don't start the relayd with a wrong --output dir
[lttng-tools.git]
/
src
/
common
/
defaults.h
diff --git
a/src/common/defaults.h
b/src/common/defaults.h
index 658e7d37d7a5118979ea503e50e4666ca8e47eee..fb6a975ddabe8fb3e231fc49f5d8754855cfa775 100644
(file)
--- a/
src/common/defaults.h
+++ b/
src/common/defaults.h
@@
-76,7
+76,6
@@
#define DEFAULT_USTCONSUMERD32_CMD_SOCK_PATH DEFAULT_USTCONSUMERD32_PATH "/command"
#define DEFAULT_USTCONSUMERD32_ERR_SOCK_PATH DEFAULT_USTCONSUMERD32_PATH "/error"
#define DEFAULT_USTCONSUMERD32_CMD_SOCK_PATH DEFAULT_USTCONSUMERD32_PATH "/command"
#define DEFAULT_USTCONSUMERD32_ERR_SOCK_PATH DEFAULT_USTCONSUMERD32_PATH "/error"
-
/* Default lttng run directory */
#define DEFAULT_LTTNG_RUNDIR "/var/run/lttng"
#define DEFAULT_LTTNG_HOME_RUNDIR "%s/.lttng"
/* Default lttng run directory */
#define DEFAULT_LTTNG_RUNDIR "/var/run/lttng"
#define DEFAULT_LTTNG_HOME_RUNDIR "%s/.lttng"
@@
-124,6
+123,7
@@
#define DEFAULT_METADATA_SUBBUF_SIZE 4096
#define DEFAULT_METADATA_SUBBUF_NUM 2
#define DEFAULT_METADATA_SUBBUF_SIZE 4096
#define DEFAULT_METADATA_SUBBUF_NUM 2
+#define DEFAULT_METADATA_CACHE_SIZE 4096
/* Kernel has different defaults */
/* Kernel has different defaults */
@@
-136,6
+136,10
@@
#define DEFAULT_KERNEL_CHANNEL_SUBBUF_NUM DEFAULT_CHANNEL_SUBBUF_NUM
/* See lttng-kernel.h enum lttng_kernel_output for channel output */
#define DEFAULT_KERNEL_CHANNEL_OUTPUT LTTNG_EVENT_SPLICE
#define DEFAULT_KERNEL_CHANNEL_SUBBUF_NUM DEFAULT_CHANNEL_SUBBUF_NUM
/* See lttng-kernel.h enum lttng_kernel_output for channel output */
#define DEFAULT_KERNEL_CHANNEL_OUTPUT LTTNG_EVENT_SPLICE
+/* By default, unlimited tracefile size */
+#define DEFAULT_KERNEL_CHANNEL_TRACEFILE_SIZE 0
+/* By default, unlimited tracefile count */
+#define DEFAULT_KERNEL_CHANNEL_TRACEFILE_COUNT 0
#define DEFAULT_KERNEL_CHANNEL_SWITCH_TIMER \
DEFAULT_CHANNEL_SWITCH_TIMER
#define DEFAULT_KERNEL_CHANNEL_SWITCH_TIMER \
DEFAULT_CHANNEL_SWITCH_TIMER
@@
-149,6
+153,10
@@
#define DEFAULT_UST_CHANNEL_SUBBUF_NUM DEFAULT_CHANNEL_SUBBUF_NUM
/* See lttng-ust.h enum lttng_ust_output */
#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_EVENT_MMAP
#define DEFAULT_UST_CHANNEL_SUBBUF_NUM DEFAULT_CHANNEL_SUBBUF_NUM
/* See lttng-ust.h enum lttng_ust_output */
#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_EVENT_MMAP
+/* By default, unlimited tracefile size */
+#define DEFAULT_UST_CHANNEL_TRACEFILE_SIZE 0
+/* By default, unlimited tracefile count */
+#define DEFAULT_UST_CHANNEL_TRACEFILE_COUNT 0
#define DEFAULT_UST_CHANNEL_SWITCH_TIMER \
DEFAULT_CHANNEL_SWITCH_TIMER
#define DEFAULT_UST_CHANNEL_SWITCH_TIMER \
DEFAULT_CHANNEL_SWITCH_TIMER
@@
-178,6
+186,12
@@
*/
#define DEFAULT_DATA_AVAILABILITY_WAIT_TIME 200000 /* usec */
*/
#define DEFAULT_DATA_AVAILABILITY_WAIT_TIME 200000 /* usec */
+/*
+ * Wait period before retrying the lttng_consumer_flushed_cache when
+ * the consumer receives metadata.
+ */
+#define DEFAULT_METADATA_AVAILABILITY_WAIT_TIME 200000 /* usec */
+
/*
* Default receiving and sending timeout for an application socket.
*/
/*
* Default receiving and sending timeout for an application socket.
*/
This page took
0.023898 seconds
and
4
git commands to generate.