projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: test_benchmark: do not match "CPU(s) scaling MHz:"
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-ipc-ns.c
diff --git
a/src/lib/lttng-ust/lttng-context-ipc-ns.c
b/src/lib/lttng-ust/lttng-context-ipc-ns.c
index f635a23077bfdf47ff4c2781994ca3454dee7fea..6193d8ed31ece62b0146be263f027e88eb0d81f9 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-ipc-ns.c
+++ b/
src/lib/lttng-ust/lttng-context-ipc-ns.c
@@
-151,9
+151,11
@@
error_find_context:
}
/*
}
/*
- *
* Force a read (imply TLS fixup
for dlopen) of TLS variables.
- *
*
/
-void lttng_
fixup_ipc_ns_tls(void
)
+ *
Force a read (imply TLS allocation
for dlopen) of TLS variables.
+ */
+void lttng_
ust_ipc_ns_init_thread(int flags
)
{
{
- asm volatile ("" : : "m" (URCU_TLS(cached_ipc_ns)));
+ __asm__ __volatile__ ("" : : "m" (URCU_TLS(cached_ipc_ns)));
+ if (flags & LTTNG_UST_INIT_THREAD_CONTEXT_CACHE)
+ (void)get_ipc_ns();
}
}
This page took
0.024442 seconds
and
4
git commands to generate.