X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust-libc-wrapper%2Flttng-ust-malloc.c;h=54b40e6a0a9546cbada853974994ddaf8fdac82e;hb=b6cd40337647f5a01c24b155c7808a856cd8c377;hp=dbd2d1b0f9aa22fd91afc478fd1142993e134991;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/liblttng-ust-libc-wrapper/lttng-ust-malloc.c b/liblttng-ust-libc-wrapper/lttng-ust-malloc.c index dbd2d1b0..54b40e6a 100644 --- a/liblttng-ust-libc-wrapper/lttng-ust-malloc.c +++ b/liblttng-ust-libc-wrapper/lttng-ust-malloc.c @@ -10,7 +10,7 @@ * circular dependency loop between this malloc wrapper, liburcu and * libc. */ -#include +#include #include #include #include @@ -19,8 +19,8 @@ #include #include #include -#include -#include +#include +#include "ust-compat.h" #define TRACEPOINT_DEFINE #define TRACEPOINT_CREATE_PROBES @@ -415,7 +415,7 @@ void lttng_ust_fixup_malloc_nesting_tls(void) } __attribute__((constructor)) -void lttng_ust_malloc_wrapper_init(void) +void lttng_ust_libc_wrapper_malloc_init(void) { /* Initialization already done */ if (cur_alloc.calloc) {