projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: perform TLS fixup in all UST entry points from each thread
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-statedump.c
diff --git
a/liblttng-ust/lttng-ust-statedump.c
b/liblttng-ust/lttng-ust-statedump.c
index 4242579fa13616341c7607667d31e523d88be486..e1fbe0536d6cd3a4dadc44ef2afee4e0d41496fa 100644
(file)
--- a/
liblttng-ust/lttng-ust-statedump.c
+++ b/
liblttng-ust/lttng-ust-statedump.c
@@
-315,6
+315,12
@@
int do_baddr_statedump(void *owner)
if (getenv("LTTNG_UST_WITHOUT_BADDR_STATEDUMP"))
return 0;
+ /*
+ * Fixup lttng-ust TLS when called from dlopen/dlclose
+ * instrumentation.
+ */
+ lttng_ust_fixup_tls();
+
data.owner = owner;
data.exec_found = 0;
/*
This page took
0.025121 seconds
and
4
git commands to generate.