#include "common/macros.h"
#include "common/align.h"
+#define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION
+#define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION
+
#define LTTNG_UST_TRACEPOINT_DEFINE
#define LTTNG_UST_TRACEPOINT_CREATE_PROBES
-#define TP_IP_PARAM ip
+#define LTTNG_UST_TP_IP_PARAM ip
#include "ust_libc.h"
#define STATIC_CALLOC_LEN 4096
}
static
-void lttng_ust_fixup_malloc_nesting_tls(void)
+void lttng_ust_malloc_nesting_alloc_tls(void)
{
asm volatile ("" : : "m" (URCU_TLS(malloc_nesting)));
}
if (cur_alloc.calloc) {
return;
}
- lttng_ust_fixup_malloc_nesting_tls();
+ lttng_ust_malloc_nesting_alloc_tls();
/*
* Ensure the allocator is in place before the process becomes
* multithreaded.