X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng%2Fcommands%2Fstop.c;h=f1299b5bc19d9276bf477dcca4009c87cb27af19;hb=734f79bf717d87817623d382c59086dc9e8ef610;hp=c79a553d1b12c4d999226e265c592757a851719f;hpb=82a3637f639486c07ff937ab03e1e9532379d26a;p=lttng-tools.git diff --git a/lttng/commands/stop.c b/lttng/commands/stop.c index c79a553d1..f1299b5bc 100644 --- a/lttng/commands/stop.c +++ b/lttng/commands/stop.c @@ -25,9 +25,9 @@ #include #include -#include "cmd.h" -#include "conf.h" -#include "utils.h" +#include "../cmd.h" +#include "../conf.h" +#include "../utils.h" static char *opt_session_name; @@ -56,9 +56,7 @@ static void usage(FILE *ofp) } /* - * stop_tracing - * - * Start tracing for all trace of the session. + * Start tracing for all trace of the session. */ static int stop_tracing(void) { @@ -86,6 +84,7 @@ free_name: if (opt_session_name == NULL) { free(session_name); } + error: return ret; }