projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: tls-compat with hidden ring buffer context
[lttng-ust.git]
/
liblttng-ust
/
lttng-ring-buffer-client.h
diff --git
a/liblttng-ust/lttng-ring-buffer-client.h
b/liblttng-ust/lttng-ring-buffer-client.h
index 01ad89daeaa8fca52ea0093a331c9c7c11eaa5af..dc3dd88f4260b7b2545e254de8c180efcb328e5c 100644
(file)
--- a/
liblttng-ust/lttng-ring-buffer-client.h
+++ b/
liblttng-ust/lttng-ring-buffer-client.h
@@
-732,7
+732,7
@@
int lttng_event_reserve(struct lttng_ust_lib_ring_buffer_ctx *ctx)
if (nesting < 0)
return -EPERM;
- private_ctx = &
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.023189 seconds
and
4
git commands to generate.