Remove core.h
[lttng-ust.git] / liblttng-ust / tracepoint.c
index 578b0f5151d3fecddf8a4321e54ac46d8f97ca23..e62b11c73f23117c9275bed67bfbafc40f0d02f1 100644 (file)
@@ -22,7 +22,6 @@
 #define _LGPL_SOURCE
 #include <errno.h>
 #include <lttng/tracepoint.h>
-#include <lttng/core.h>
 #include <stdint.h>
 #include <stddef.h>
 #include <urcu/arch.h>
 #include <urcu/hlist.h>
 #include <urcu/uatomic.h>
 #include <urcu/compiler.h>
+#include <helper.h>
 
 #include <lttng/usterr-signal-safe.h>
 #include "tracepoint-internal.h"
 #include "ltt-tracer-core.h"
 #include "jhash.h"
+#include "error.h"
 
 /* Set to 1 to enable tracepoint debug output */
 static const int tracepoint_debug;
@@ -402,8 +403,6 @@ int __tracepoint_probe_unregister(const char *name, void *probe, void *data)
 {
        void *old;
 
-       fprintf(stderr, "TEST REGISTER %s\n", name);
-
        old = tracepoint_remove_probe(name, probe, data);
        if (IS_ERR(old))
                return PTR_ERR(old);
This page took 0.025045 seconds and 4 git commands to generate.