Move liblttng-ust-common to 'src/lib/'
[lttng-ust.git] / src / lib / lttng-ust / tracepoint.c
index e5a970adc19207f1a81ea92c2d8d52fe5c56a2e4..8d89d144f773a9597b45709e010f0bc655713ab8 100644 (file)
@@ -28,8 +28,8 @@
 
 #include "tracepoint-internal.h"
 #include "lttng-tracer-core.h"
-#include "jhash.h"
-#include "error.h"
+#include "common/jhash.h"
+#include "common/err-ptr.h"
 
 /* Test compiler support for weak symbols with hidden visibility. */
 int __tracepoint_test_symbol1 __attribute__((weak, visibility("hidden")));
@@ -894,7 +894,7 @@ lib_added:
 
        DBG("just registered a tracepoints section from %p and having %d tracepoints",
                tracepoints_start, tracepoints_count);
-       if (ust_err_debug_enabled()) {
+       if (lttng_ust_logging_debug_enabled()) {
                int i;
 
                for (i = 0; i < tracepoints_count; i++) {
@@ -958,7 +958,7 @@ void lttng_ust_tp_init(void)
 {
        if (uatomic_xchg(&initialized, 1) == 1)
                return;
-       ust_err_init();
+       lttng_ust_logging_init();
        check_weak_hidden();
 }
 
This page took 0.023246 seconds and 4 git commands to generate.