X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-libc-wrapper.h;h=2eaf5dc6d4c7016827f6ff0928fea0c1e11ace65;hb=465a0d0493a126c09d0bf469369b8410d4bf73a9;hp=685ebfbdde5bea09e33d2dfd69077a2aead30648;hpb=8da9deee450bf62c6c3abb1f44f9414c0667dd6f;p=lttng-ust.git diff --git a/include/lttng/ust-libc-wrapper.h b/include/lttng/ust-libc-wrapper.h index 685ebfbd..2eaf5dc6 100644 --- a/include/lttng/ust-libc-wrapper.h +++ b/include/lttng/ust-libc-wrapper.h @@ -20,6 +20,7 @@ * function in liblttng-ust that is overridden by the one in * liblttng-ust-wrapper-libc when it's preloaded. */ -void lttng_ust_libc_wrapper_malloc_init(void); +void lttng_ust_libc_wrapper_malloc_init(void) + __attribute__((constructor)); #endif