Use initial-exec TLS model
[lttng-ust.git] / liblttng-ust / lttng-context-procname.c
index 13461a6878fded8e47bf10c902b054940d4c4c16..4b8da28f255aa56d74fe87c67f12cdd214680782 100644 (file)
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _LGPL_SOURCE
 #include <lttng/ust-events.h>
 #include <lttng/ust-tracer.h>
 #include <lttng/ringbuffer-config.h>
@@ -37,7 +38,7 @@
  * thread.
  */
 typedef char procname_array[17];
-static DEFINE_URCU_TLS(procname_array, cached_procname);
+static DEFINE_URCU_TLS_IE(procname_array, cached_procname);
 
 static inline
 char *wrapper_getprocname(void)
This page took 0.022945 seconds and 4 git commands to generate.