sessiond: enforce mmap output type for kernel metadata channel
[lttng-tools.git] / src / common / defaults.h
index 0b6cb763c0685e128c6947c34ea8638e4ed91ae2..1e4b7fac7ab7d5d500ddd84985b76051dfefef49 100644 (file)
@@ -85,7 +85,7 @@
 
 #define DEFAULT_RELAYD_MIN_FD_POOL_SIZE                100
 /*
- * The file descriptor pool size needs a reserve buffer to accomodate the
+ * The file descriptor pool size needs a reserve buffer to accommodates the
  * indirect use of short-lived file descriptors. For instance, glibc will
  * create a socket (and thus, use an fd) during calls to gethostname() or
  * when querying the user's group. Other calls also probably make use of
 #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 */
 
This page took 0.023625 seconds and 4 git commands to generate.