Display discarded and lost events at destroy and stop
[lttng-tools.git] / src / bin / lttng / commands / stop.c
index a72f313dfccb11270607e1c2f9b9985419e820da..b3fff0753b1c93381e0eafe073ed1e60c4127d4e 100644 (file)
@@ -15,7 +15,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -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);
This page took 0.024473 seconds and 4 git commands to generate.