X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fstop.c;h=b3fff0753b1c93381e0eafe073ed1e60c4127d4e;hb=b31610f2294a6a827fa2d0d19d71199567db8dc5;hp=a72f313dfccb11270607e1c2f9b9985419e820da;hpb=e5b83100577f6b378e89c8c7ccbba5892be9d50a;p=lttng-tools.git diff --git a/src/bin/lttng/commands/stop.c b/src/bin/lttng/commands/stop.c index a72f313df..b3fff0753 100644 --- a/src/bin/lttng/commands/stop.c +++ b/src/bin/lttng/commands/stop.c @@ -15,7 +15,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #include @@ -155,6 +155,7 @@ static int stop_tracing(void) ret = CMD_SUCCESS; + print_session_stats(session_name); MSG("Tracing stopped for session %s", session_name); if (lttng_opt_mi) { ret = mi_print_session(session_name, 0);