Fix: remove break in lttng cmdline session listing
authorDavid Goulet <dgoulet@efficios.com>
Thu, 18 Sep 2014 19:38:18 +0000 (15:38 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 18 Sep 2014 19:38:18 +0000 (15:38 -0400)
This was causing to only list the first session with a "lttng list"
command.

Reported-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/list.c

index 9cc6e474773428b4d87130129604e86fa36d49e3..96ccdb039e53ef2d9e84609c75f087f7243f2480 100644 (file)
@@ -1277,7 +1277,6 @@ static int list_sessions(const char *session_name)
                                MSG("%sTrace path: %s", indent4, sessions[i].path);
                                MSG("%sLive timer interval (usec): %u\n", indent4,
                                                sessions[i].live_timer_interval);
-                               break;
                        }
                }
 
This page took 0.026971 seconds and 5 git commands to generate.