#include <lttng/tracepoint.h>
#include <lttng/ust-abi.h> /* for LTTNG_UST_ABI_SYM_NAME_LEN */
+#include <lttng/ust-common.h>
#include "common/logging.h"
#include "common/macros.h"
bool tp_entry_callsite_ref; /* Has a tp_entry took a ref on this callsite */
};
+lttng_ust_static_assert(LTTNG_UST_TRACEPOINT_NAME_LEN_MAX == LTTNG_UST_ABI_SYM_NAME_LEN,
+ "Tracepoint name max length mismatch between UST ABI and tracepoint API",
+ Tracepoint_name_max_length_mismatch);
+
/* coverity[+alloc] */
static void *allocate_probes(int count)
{
if (uatomic_xchg(&initialized, 1) == 1)
return;
lttng_ust_logging_init();
+ lttng_ust_common_ctor();
check_weak_hidden();
}