Move the ringbuffer and counter clients to 'src/common/'
[lttng-ust.git] / src / lib / lttng-ust / lttng-context-provider.c
index caeb387bd6b3b31ca7bb40305aced74393e11fd9..8ef552a2353a8ffd60cef7eede75d792fda85f5a 100644 (file)
 
 #include "context-internal.h"
 #include "lttng-tracer-core.h"
-#include "jhash.h"
+#include "common/jhash.h"
 #include "context-provider-internal.h"
 #include "common/macros.h"
+#include "common/tracer.h"
 
 struct lttng_ust_registered_context_provider {
        const struct lttng_ust_context_provider *provider;
@@ -72,7 +73,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 +107,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;
This page took 0.023597 seconds and 4 git commands to generate.