projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: fixup ringbuffer tls at constructor by forcing read
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-comm.c
diff --git
a/liblttng-ust/lttng-ust-comm.c
b/liblttng-ust/lttng-ust-comm.c
index fa184ad74270d50dfe29e45c3c0984a2b2d6c4b5..b90df8610edb6cee07e0bef8ac4ec82cb787b5a2 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-46,6
+46,7
@@
#include <usterr-signal-safe.h>
#include "tracepoint-internal.h"
#include "ltt-tracer-core.h"
#include <usterr-signal-safe.h>
#include "tracepoint-internal.h"
#include "ltt-tracer-core.h"
+#include "../libringbuffer/tlsfixup.h"
/*
* Has lttng ust comm constructor been called ?
/*
* Has lttng ust comm constructor been called ?
@@
-838,6
+839,7
@@
void __attribute__((constructor)) lttng_ust_init(void)
* the ust lock.
*/
lttng_fixup_event_tls();
* the ust lock.
*/
lttng_fixup_event_tls();
+ lttng_fixup_ringbuffer_tls();
/*
* We want precise control over the order in which we construct
/*
* We want precise control over the order in which we construct
This page took
0.023137 seconds
and
4
git commands to generate.