Add max-size to snapshot list output
authorDavid Goulet <dgoulet@efficios.com>
Thu, 22 May 2014 19:53:07 +0000 (15:53 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 22 May 2014 19:53:07 +0000 (15:53 -0400)
Fixes #635

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/snapshot.c

index c704eee5f8582c791c8ba9831e7c7b9186975c26..94deb0cfa2eb0f06acd61cd68daf5efc9ac51874 100644 (file)
@@ -195,10 +195,11 @@ static int list_output(void)
        MSG("Snapshot output list for session %s", current_session_name);
 
        while ((s_iter = lttng_snapshot_output_list_get_next(list)) != NULL) {
-               MSG("%s[%" PRIu32 "] %s: %s", indent4,
+               MSG("%s[%" PRIu32 "] %s: %s (max-size: %" PRId64 ")", indent4,
                                lttng_snapshot_output_get_id(s_iter),
                                lttng_snapshot_output_get_name(s_iter),
-                               lttng_snapshot_output_get_ctrl_url(s_iter));
+                               lttng_snapshot_output_get_ctrl_url(s_iter),
+                               lttng_snapshot_output_get_maxsize(s_iter));
                output_seen = 1;
        }
 
This page took 0.026164 seconds and 4 git commands to generate.