projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce LTTNG_UST_APP_PATH environment variable
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-uts-ns.c
diff --git
a/src/lib/lttng-ust/lttng-context-uts-ns.c
b/src/lib/lttng-ust/lttng-context-uts-ns.c
index 619649b30ccfe22711e0d3bd3b25d5112c9de416..cef6cf17e68c46dc2bbe3ae0e70e127abaabe11e 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-uts-ns.c
+++ b/
src/lib/lttng-ust/lttng-context-uts-ns.c
@@
-152,9
+152,11
@@
error_find_context:
}
/*
}
/*
- *
* Force a read (imply TLS fixup
for dlopen) of TLS variables.
- *
*
/
-void lttng_
fixup_uts_ns_tls(void
)
+ *
Force a read (imply TLS allocation
for dlopen) of TLS variables.
+ */
+void lttng_
ust_uts_ns_init_thread(int flags
)
{
{
- asm volatile ("" : : "m" (URCU_TLS(cached_uts_ns)));
+ __asm__ __volatile__ ("" : : "m" (URCU_TLS(cached_uts_ns)));
+ if (flags & LTTNG_UST_INIT_THREAD_CONTEXT_CACHE)
+ (void)get_uts_ns();
}
}
This page took
0.066759 seconds
and
4
git commands to generate.