Document why the fd tracker is ABI without a public header
[lttng-ust.git] / liblttng-ust-dl / lttng-ust-dl.c
index 2e4c3c01f9b6dcb0e88d573993a4add6c787baa3..b2e43b9613847318839bfb3e0eb82abfcccb871a 100644 (file)
@@ -16,7 +16,7 @@
 #include <ust-dlfcn.h>
 #include <lttng/ust-elf.h>
 #include <lttng/ust-events.h>
-#include <helper.h>
+#include <ust-helper.h>
 #include "usterr-signal-safe.h"
 
 /* Include link.h last else it conflicts with ust-dlfcn. */
@@ -32,6 +32,12 @@ static void *(*__lttng_ust_plibc_dlmopen)(Lmid_t nsid, const char *filename,
 #endif
 static int (*__lttng_ust_plibc_dlclose)(void *handle);
 
+static __attribute__((constructor))
+void _lttng_ust_dl_init(void)
+{
+       ust_err_init();
+}
+
 static
 void *_lttng_ust_dl_libc_dlopen(const char *filename, int flags)
 {
This page took 0.023296 seconds and 4 git commands to generate.