X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Fcommands%2Fstop.c;h=f1299b5bc19d9276bf477dcca4009c87cb27af19;hp=664637873f6c980ee22499192317f25aeeca1ac2;hb=6a4f824d3317497f00cd7065ab9905fbb86ea58f;hpb=b73d0b29491b7d0dc5cde3c4c65a6cd7c80479b4 diff --git a/lttng/commands/stop.c b/lttng/commands/stop.c index 664637873..f1299b5bc 100644 --- a/lttng/commands/stop.c +++ b/lttng/commands/stop.c @@ -3,8 +3,8 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * as published by the Free Software Foundation; only version 2 + * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -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; }