New API: lttng_ust_init_thread() for async-signal tracing
[lttng-ust.git] / liblttng-ust / lttng-ring-buffer-client.h
index dc3dd88f4260b7b2545e254de8c180efcb328e5c..dfc98ceeff8c4bc5044b35c771ef31043c985b92 100644 (file)
@@ -78,8 +78,7 @@ static DEFINE_URCU_TLS(private_ctx_stack_t, private_ctx_stack);
 /*
  * Force a read (imply TLS fixup for dlopen) of TLS variables.
  */
-static
-void lttng_fixup_rb_client_tls(void)
+void RING_BUFFER_MODE_TEMPLATE_TLS_FIXUP(void)
 {
        asm volatile ("" : : "m" (URCU_TLS(private_ctx_stack)));
 }
@@ -858,7 +857,6 @@ void RING_BUFFER_MODE_TEMPLATE_INIT(void)
 {
        DBG("LTT : ltt ring buffer client \"%s\" init\n",
                "relay-" RING_BUFFER_MODE_TEMPLATE_STRING "-mmap");
-       lttng_fixup_rb_client_tls();
        lttng_transport_register(&lttng_relay_transport);
 }
 
This page took 0.024801 seconds and 4 git commands to generate.