Fix: tls-compat with hidden ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-ring-buffer-client.h
index fb7ba25521fce4eddb5519629218b738b651fd3a..dc3dd88f4260b7b2545e254de8c180efcb328e5c 100644 (file)
@@ -732,7 +732,7 @@ int lttng_event_reserve(struct lttng_ust_lib_ring_buffer_ctx *ctx)
        if (nesting < 0)
                return -EPERM;
 
-       private_ctx = &URCU_TLS(private_ctx_stack[nesting]);
+       private_ctx = &URCU_TLS(private_ctx_stack)[nesting];
        memset(private_ctx, 0, sizeof(*private_ctx));
        private_ctx->pub = ctx;
        private_ctx->chan = lttng_chan->priv->rb_chan;
This page took 0.023282 seconds and 4 git commands to generate.