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-provider.c
diff --git
a/src/lib/lttng-ust/lttng-context-provider.c
b/src/lib/lttng-ust/lttng-context-provider.c
index 4e7e429fcc6ee662c744cd94a818eca68d01eb5f..5000657de636e79b20e84bb8526843616250e8bc 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-provider.c
+++ b/
src/lib/lttng-ust/lttng-context-provider.c
@@
-67,7
+67,7
@@
struct lttng_ust_registered_context_provider *lttng_ust_context_provider_registe
size_t name_len = strlen(provider->name);
uint32_t hash;
size_t name_len = strlen(provider->name);
uint32_t hash;
- lttng_ust_
alloc_tls(
);
+ lttng_ust_
common_init_thread(0
);
/* Provider name starts with "$app.". */
if (strncmp("$app.", provider->name, strlen("$app.")) != 0)
/* Provider name starts with "$app.". */
if (strncmp("$app.", provider->name, strlen("$app.")) != 0)
@@
-101,7
+101,7
@@
end:
void lttng_ust_context_provider_unregister(struct lttng_ust_registered_context_provider *reg_provider)
{
void lttng_ust_context_provider_unregister(struct lttng_ust_registered_context_provider *reg_provider)
{
- lttng_ust_
alloc_tls(
);
+ lttng_ust_
common_init_thread(0
);
if (ust_lock())
goto end;
if (ust_lock())
goto end;
This page took
0.026404 seconds
and
4
git commands to generate.