X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=liblttng-ust-libc-wrapper%2Flttng-ust-malloc.c;h=d407985f58c9d6abd306bd32ba1d3ebddfc885be;hb=74c3f8e27f5b750b71136ce1737972c28f288540;hp=e4f9c35614dafce4ef929268be3fbe82ee279b5a;hpb=8da9deee450bf62c6c3abb1f44f9414c0667dd6f;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 e4f9c356..d407985f 100644 --- a/liblttng-ust-libc-wrapper/lttng-ust-malloc.c +++ b/liblttng-ust-libc-wrapper/lttng-ust-malloc.c @@ -14,11 +14,16 @@ #include #include #include +#include + #include #include #include #include #include + +#include + #include #include "ust-compat.h" @@ -420,7 +425,6 @@ void lttng_ust_fixup_malloc_nesting_tls(void) asm volatile ("" : : "m" (URCU_TLS(malloc_nesting))); } -__attribute__((constructor)) void lttng_ust_libc_wrapper_malloc_init(void) { /* Initialization already done */