From: David Goulet Date: Thu, 22 May 2014 19:53:07 +0000 (-0400) Subject: Add max-size to snapshot list output X-Git-Tag: v2.5.0-rc1~26 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c3024823fbf2406ff4bcb2109e947c8b7142516e;p=lttng-tools.git Add max-size to snapshot list output Fixes #635 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/commands/snapshot.c b/src/bin/lttng/commands/snapshot.c index c704eee5f..94deb0cfa 100644 --- a/src/bin/lttng/commands/snapshot.c +++ b/src/bin/lttng/commands/snapshot.c @@ -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; }