X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fdefaults.h;h=94a2a35870a423a21e31a7c096b93cef1fcea3e4;hp=658e7d37d7a5118979ea503e50e4666ca8e47eee;hb=331744e34f56a5aec69b05d356d6901e67926acc;hpb=31fa4745f181bd1bdbceb89fbe27e130f5b4e2b9 diff --git a/src/common/defaults.h b/src/common/defaults.h index 658e7d37d..94a2a3587 100644 --- 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" - /* 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_CACHE_SIZE 4096 /* Kernel has different defaults */ @@ -178,6 +178,12 @@ */ #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. */