X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fmain.c;h=f99513a2bf60b0f7c2a67308ce4041e1ccbe11d6;hp=8a808236878edbefdd468967386e57d6dc2d13f3;hb=97b1a726be0f1779f5508543c58521d774312e73;hpb=0b8091d3f931437d2035cfa70549c5aa15b41aac diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index 8a8082368..f99513a2b 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -49,7 +49,6 @@ #include "session.h" #include "traceable-app.h" #include "lttng-kconsumerd.h" -#include "libustctl.h" #include "utils.h" /* @@ -350,6 +349,7 @@ error: return ret; } +#ifdef DISABLED /* * ust_connect_app * @@ -380,6 +380,7 @@ static int ust_connect_app(pid_t pid) return sock; } +#endif /* DISABLED */ /* * notify_apps @@ -1334,6 +1335,7 @@ static int process_client_msg(struct command_ctx *cmd_ctx) } } +#ifdef DISABLED /* Connect to ust apps if available pid */ if (cmd_ctx->lsm->pid > 0) { /* Connect to app using ustctl API */ @@ -1343,6 +1345,7 @@ static int process_client_msg(struct command_ctx *cmd_ctx) goto error; } } +#endif /* DISABLED */ /* Process by command type */ switch (cmd_ctx->lsm->cmd_type) {