projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: enforce mmap output type for kernel metadata channel
[lttng-tools.git]
/
src
/
common
/
defaults.h
diff --git
a/src/common/defaults.h
b/src/common/defaults.h
index 5c93e498ddf39c86007c8b07d58ec8e64ec8324f..78ac2c2d8711ea547ad076c6b70a99f4365a5fe8 100644
(file)
--- a/
src/common/defaults.h
+++ b/
src/common/defaults.h
@@
-55,8
+55,8
@@
#define DEFAULT_TRACE_OUTPUT DEFAULT_HOME_DIR "/lttng"
/* Default directory where the trace are written in per domain */
#define DEFAULT_TRACE_OUTPUT DEFAULT_HOME_DIR "/lttng"
/* Default directory where the trace are written in per domain */
-#define DEFAULT_KERNEL_TRACE_DIR "
/
kernel"
-#define DEFAULT_UST_TRACE_DIR "
/
ust"
+#define DEFAULT_KERNEL_TRACE_DIR "kernel"
+#define DEFAULT_UST_TRACE_DIR "ust"
/* Subpath for per PID or UID sessions. */
#define DEFAULT_UST_TRACE_PID_PATH "/pid"
/* Subpath for per PID or UID sessions. */
#define DEFAULT_UST_TRACE_PID_PATH "/pid"
@@
-205,9
+205,10
@@
#define DEFAULT_METADATA_SUBBUF_SIZE CONFIG_DEFAULT_METADATA_SUBBUF_SIZE
#define DEFAULT_METADATA_SUBBUF_NUM CONFIG_DEFAULT_METADATA_SUBBUF_NUM
#define DEFAULT_METADATA_CACHE_SIZE CONFIG_DEFAULT_METADATA_CACHE_SIZE
#define DEFAULT_METADATA_SUBBUF_SIZE CONFIG_DEFAULT_METADATA_SUBBUF_SIZE
#define DEFAULT_METADATA_SUBBUF_NUM CONFIG_DEFAULT_METADATA_SUBBUF_NUM
#define DEFAULT_METADATA_CACHE_SIZE CONFIG_DEFAULT_METADATA_CACHE_SIZE
-#define DEFAULT_METADATA_SWITCH_TIMER CONFIG_DEFAULT_METADATA_SWITCH_TIMER
-#define DEFAULT_METADATA_READ_TIMER CONFIG_DEFAULT_METADATA_READ_TIMER
-#define DEFAULT_METADATA_OUTPUT _DEFAULT_CHANNEL_OUTPUT
+#define DEFAULT_METADATA_SWITCH_TIMER 0
+#define DEFAULT_METADATA_READ_TIMER 0
+#define DEFAULT_METADATA_OVERWRITE 0
+#define DEFAULT_METADATA_OUTPUT LTTNG_EVENT_MMAP
/* Kernel has different defaults */
/* Kernel has different defaults */
@@
-284,7
+285,7
@@
* Wait period before retrying the lttng_data_pending command in the lttng
* stop command of liblttng-ctl.
*/
* Wait period before retrying the lttng_data_pending command in the lttng
* stop command of liblttng-ctl.
*/
-#define DEFAULT_DATA_AVAILABILITY_WAIT_TIME 200000 /* usec */
+#define DEFAULT_DATA_AVAILABILITY_WAIT_TIME
_US
200000 /* usec */
/*
* Wait period before retrying the lttng_consumer_flushed_cache when
/*
* Wait period before retrying the lttng_consumer_flushed_cache when
@@
-333,6
+334,9
@@
/* Default maximal size of message notification channel message payloads. */
#define DEFAULT_MAX_NOTIFICATION_CLIENT_MESSAGE_PAYLOAD_SIZE 65536
/* Default maximal size of message notification channel message payloads. */
#define DEFAULT_MAX_NOTIFICATION_CLIENT_MESSAGE_PAYLOAD_SIZE 65536
+/* Default maximal size of trace archive location. */
+#define DEFAULT_MAX_TRACE_ARCHIVE_LOCATION_PAYLOAD_SIZE 65536
+
/* Default maximal size of message notification channel message payloads. */
#define DEFAULT_CLIENT_MAX_QUEUED_NOTIFICATIONS_COUNT 100
/* Default maximal size of message notification channel message payloads. */
#define DEFAULT_CLIENT_MAX_QUEUED_NOTIFICATIONS_COUNT 100
@@
-343,6
+347,13
@@
#define DEFAULT_LTTNG_RELAYD_TCP_KEEP_ALIVE_PROBE_INTERVAL_ENV "LTTNG_RELAYD_TCP_KEEP_ALIVE_PROBE_INTERVAL"
#define DEFAULT_LTTNG_RELAYD_TCP_KEEP_ALIVE_ABORT_THRESHOLD_ENV "LTTNG_RELAYD_TCP_KEEP_ALIVE_ABORT_THRESHOLD"
#define DEFAULT_LTTNG_RELAYD_TCP_KEEP_ALIVE_PROBE_INTERVAL_ENV "LTTNG_RELAYD_TCP_KEEP_ALIVE_PROBE_INTERVAL"
#define DEFAULT_LTTNG_RELAYD_TCP_KEEP_ALIVE_ABORT_THRESHOLD_ENV "LTTNG_RELAYD_TCP_KEEP_ALIVE_ABORT_THRESHOLD"
+/*
+ * Name of the intermediate directory used to rename the trace chunk of a
+ * session's first rotation.
+ */
+#define DEFAULT_TEMPORARY_CHUNK_RENAME_DIRECTORY ".tmp_rename_chunk"
+#define DEFAULT_ARCHIVED_TRACE_CHUNKS_DIRECTORY "archives"
+
/*
* Default timer value in usec for the rotate pending polling check on the
* relay when a rotation has completed on the consumer.
/*
* Default timer value in usec for the rotate pending polling check on the
* relay when a rotation has completed on the consumer.
This page took
0.027179 seconds
and
4
git commands to generate.