X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fstop.c;h=e946d4fdb503ad274a4e58f596d3fe28647760f5;hb=4ba92f185fb1d0b112cbc804a261939f5f81dc34;hp=affc3985bb48f5977fdcb95a7241613166b7c62d;hpb=890d8fe47755c3bad936389cf48ffa141cff41c9;p=lttng-tools.git diff --git a/src/bin/lttng/commands/stop.c b/src/bin/lttng/commands/stop.c index affc3985b..e946d4fdb 100644 --- a/src/bin/lttng/commands/stop.c +++ b/src/bin/lttng/commands/stop.c @@ -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); @@ -188,7 +189,7 @@ int cmd_stop(int argc, const char **argv) while ((opt = poptGetNextOpt(pc)) != -1) { switch (opt) { case OPT_HELP: - usage(stdout); + SHOW_HELP(); goto end; case OPT_LIST_OPTIONS: list_cmd_options(stdout, long_options);