projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng_ust_init_thread: initialise cached context values
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-procname.c
diff --git
a/src/lib/lttng-ust/lttng-context-procname.c
b/src/lib/lttng-ust/lttng-context-procname.c
index b5bf77be611b28ee3d6d87ac5415da0470acafc6..16f34c4652e865bc14324f80e2cb1e119f776c1b 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-procname.c
+++ b/
src/lib/lttng-ust/lttng-context-procname.c
@@
-122,7
+122,9
@@
error_find_context:
/*
* Force a read (imply TLS allocation for dlopen) of TLS variables.
*/
/*
* Force a read (imply TLS allocation for dlopen) of TLS variables.
*/
-void lttng_
procname_alloc_tls(void
)
+void lttng_
ust_procname_init_thread(int flags
)
{
asm volatile ("" : : "m" (URCU_TLS(cached_procname)[0]));
{
asm volatile ("" : : "m" (URCU_TLS(cached_procname)[0]));
+ if (flags & LTTNG_UST_INIT_THREAD_CONTEXT_CACHE)
+ (void)wrapper_getprocname();
}
}
This page took
0.023316 seconds
and
4
git commands to generate.