projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: typo: overriden -> overridden
[lttng-tools.git]
/
src
/
common
/
defaults.h
diff --git
a/src/common/defaults.h
b/src/common/defaults.h
index 38ab1e146740538102b5c669d0a5571ec0c6f37c..183e315183356c1ebca2f5a8d4f65beea7dbc1b2 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"
@@
-269,8
+269,9
@@
#define DEFAULT_NETWORK_DATA_PORT CONFIG_DEFAULT_NETWORK_DATA_PORT
#define DEFAULT_NETWORK_VIEWER_PORT CONFIG_DEFAULT_NETWORK_VIEWER_PORT
#define DEFAULT_NETWORK_DATA_PORT CONFIG_DEFAULT_NETWORK_DATA_PORT
#define DEFAULT_NETWORK_VIEWER_PORT CONFIG_DEFAULT_NETWORK_VIEWER_PORT
-/* Agent registration TCP port. */
-#define DEFAULT_AGENT_TCP_PORT CONFIG_DEFAULT_AGENT_TCP_PORT
+/* Agent registration TCP port range. */
+#define DEFAULT_AGENT_TCP_PORT_RANGE_BEGIN CONFIG_DEFAULT_AGENT_TCP_PORT_RANGE_BEGIN
+#define DEFAULT_AGENT_TCP_PORT_RANGE_END CONFIG_DEFAULT_AGENT_TCP_PORT_RANGE_END
/*
* If a thread stalls for this amount of time, it will be considered bogus (bad
/*
* If a thread stalls for this amount of time, it will be considered bogus (bad
@@
-283,7
+284,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
@@
-298,6
+299,10
@@
*/
#define DEFAULT_INET_TCP_TIMEOUT 180 /* sec */
*/
#define DEFAULT_INET_TCP_TIMEOUT 180 /* sec */
+/* Maximum payload size for a control connection */
+
+#define DEFAULT_NETWORK_RELAYD_CTRL_MAX_PAYLOAD_SIZE CONFIG_DEFAULT_NETWORK_RELAYD_CTRL_MAX_PAYLOAD_SIZE
+
/*
* Default receiving and sending timeout for an application socket.
*/
/*
* Default receiving and sending timeout for an application socket.
*/
@@
-320,7
+325,7
@@
#define DEFAULT_RUN_AS_WORKER_NAME "lttng-runas"
/* Default LTTng MI XML namespace. */
#define DEFAULT_RUN_AS_WORKER_NAME "lttng-runas"
/* Default LTTng MI XML namespace. */
-#define DEFAULT_LTTNG_MI_NAMESPACE "http://lttng.org/xml/ns/lttng-mi"
+#define DEFAULT_LTTNG_MI_NAMESPACE "http
s
://lttng.org/xml/ns/lttng-mi"
/* Default thread stack size; the default mandated by pthread_create(3) */
#define DEFAULT_LTTNG_THREAD_STACK_SIZE 2097152
/* Default thread stack size; the default mandated by pthread_create(3) */
#define DEFAULT_LTTNG_THREAD_STACK_SIZE 2097152
@@
-328,6
+333,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
@@
-338,11
+346,18
@@
#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.
*/
-#define DEFAULT_ROTATE_PENDING_
RELAY_TIMER CONFIG_DEFAULT_ROTATE_PENDING_RELAY
_TIMER
+#define DEFAULT_ROTATE_PENDING_
TIMER CONFIG_DEFAULT_ROTATE_PENDING
_TIMER
/*
* Returns the default subbuf size.
/*
* Returns the default subbuf size.
This page took
0.023961 seconds
and
4
git commands to generate.