Rename sessiond comm lib into ust comm
[lttng-ust.git] / libust / lttng-ust-abi.c
index 31eaa2a7cfc701b11a2f8ce6d2223cd43e707adb..fee3d0750022becad801f34979a62e11224bcf0c 100644 (file)
@@ -28,7 +28,7 @@
 #include <urcu/compiler.h>
 #include <urcu/list.h>
 #include <ust/lttng-events.h>
-#include "usterr_signal_safe.h"
+#include <ust/usterr-signal-safe.h>
 #include "ust/core.h"
 #include "ltt-tracer.h"
 
@@ -251,7 +251,7 @@ long lttng_abi_add_context(int objd,
 
        switch (context_param->ctx) {
        case LTTNG_UST_CONTEXT_VTID:
-               return lttng_add_vtid_to_ctx(ctx);
+               //TODO return lttng_add_vtid_to_ctx(ctx);
        default:
                return -EINVAL;
        }
@@ -704,13 +704,7 @@ static const struct objd_ops lttng_event_ops = {
        .cmd = lttng_event_cmd,
 };
 
-void __attribute__((constructor)) lttng_ust_abi_init(void)
-{
-       /* TODO: initialize socket */
-}
-
-static
-void __attribute__((destructor)) lttng_ust_abi_exit(void)
+void lttng_ust_abi_exit(void)
 {
        /* TODO: teardown socket */
        objd_table_destroy();
This page took 0.034376 seconds and 4 git commands to generate.