X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-context-provider.c;h=796a6b49a3183dbb9ddf73a89710749a2155d310;hb=cf914d169665d78854f6d0e1c8ff9d9aff6122d1;hp=cc437067522b71c5e495b8cb9d97a0207ec40d2d;hpb=e58e5ad5abb76f1d91d6b23ec77036ff1616f832;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-context-provider.c b/src/lib/lttng-ust/lttng-context-provider.c index cc437067..796a6b49 100644 --- a/src/lib/lttng-ust/lttng-context-provider.c +++ b/src/lib/lttng-ust/lttng-context-provider.c @@ -72,7 +72,7 @@ struct lttng_ust_registered_context_provider *lttng_ust_context_provider_registe size_t name_len = strlen(provider->name); uint32_t hash; - lttng_ust_fixup_tls(); + lttng_ust_alloc_tls(); /* Provider name starts with "$app.". */ if (strncmp("$app.", provider->name, strlen("$app.")) != 0) @@ -106,7 +106,7 @@ end: void lttng_ust_context_provider_unregister(struct lttng_ust_registered_context_provider *reg_provider) { - lttng_ust_fixup_tls(); + lttng_ust_alloc_tls(); if (ust_lock()) goto end;