X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdefaults.h;h=95b1dc29ba16fa5c87df7d00f798eec68ccc1a85;hb=6e53c52d3bf42bac72d7437684657ac442499616;hp=1e4b7fac7ab7d5d500ddd84985b76051dfefef49;hpb=d42266a417afa6e8ca6024590b8282002aebca07;p=lttng-tools.git diff --git a/src/common/defaults.h b/src/common/defaults.h index 1e4b7fac7..95b1dc29b 100644 --- a/src/common/defaults.h +++ b/src/common/defaults.h @@ -13,6 +13,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* Default unix group name for tracing. */ #define DEFAULT_TRACING_GROUP "tracing" @@ -279,6 +283,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). @@ -376,7 +383,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); /* @@ -385,7 +391,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); /* @@ -394,7 +399,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); /* @@ -403,7 +407,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); /* @@ -412,7 +415,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); /* @@ -424,7 +426,10 @@ 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); +#ifdef __cplusplus +} +#endif + #endif /* _DEFAULTS_H */