X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdefaults.h;h=39b77470d68a4aa294858205cc7b365349f055c7;hb=48a4000561343808724f7cb5fa8c131877489ccd;hp=0b6cb763c0685e128c6947c34ea8638e4ed91ae2;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/common/defaults.h b/src/common/defaults.h index 0b6cb763c..39b77470d 100644 --- a/src/common/defaults.h +++ b/src/common/defaults.h @@ -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 @@ -210,9 +210,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_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 */ @@ -278,6 +279,9 @@ #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 +/* Number of buckets in the event notifier error count map. */ +#define DEFAULT_EVENT_NOTIFIER_ERROR_COUNT_MAP_SIZE CONFIG_DEFAULT_EVENT_NOTIFIER_ERROR_COUNT_MAP_SIZE + /* * If a thread stalls for this amount of time, it will be considered bogus (bad * health). @@ -375,7 +379,6 @@ * This function depends on a value that is set at constructor time, so it is * unsafe to call it from another constructor. */ -LTTNG_HIDDEN size_t default_get_channel_subbuf_size(void); /* @@ -384,7 +387,6 @@ size_t default_get_channel_subbuf_size(void); * This function depends on a value that is set at constructor time, so it is * unsafe to call it from another constructor. */ -LTTNG_HIDDEN size_t default_get_metadata_subbuf_size(void); /* @@ -393,7 +395,6 @@ size_t default_get_metadata_subbuf_size(void); * This function depends on a value that is set at constructor time, so it is * unsafe to call it from another constructor. */ -LTTNG_HIDDEN size_t default_get_kernel_channel_subbuf_size(void); /* @@ -402,7 +403,6 @@ size_t default_get_kernel_channel_subbuf_size(void); * This function depends on a value that is set at constructor time, so it is * unsafe to call it from another constructor. */ -LTTNG_HIDDEN size_t default_get_ust_pid_channel_subbuf_size(void); /* @@ -411,7 +411,6 @@ size_t default_get_ust_pid_channel_subbuf_size(void); * This function depends on a value that is set at constructor time, so it is * unsafe to call it from another constructor. */ -LTTNG_HIDDEN size_t default_get_ust_uid_channel_subbuf_size(void); /* @@ -423,7 +422,6 @@ size_t default_get_ust_uid_channel_subbuf_size(void); * pthread_attr_t pointer where the thread stack size is set to the soft stack * size limit. */ -LTTNG_HIDDEN pthread_attr_t *default_pthread_attr(void); #endif /* _DEFAULTS_H */