From 0d5a66ffc18fe9abe115c66b664df71084ad1fc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 27 Jul 2017 17:55:14 -0400 Subject: [PATCH] Uniformize the printing of units in session listing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/bin/lttng/commands/list.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 942e4a4c2..8705a4446 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -1207,14 +1207,14 @@ static void print_channel(struct lttng_channel *channel) MSG("%sAttributes:", indent4); MSG("%soverwrite mode: %d", indent6, channel->attr.overwrite); - MSG("%ssubbuffers size: %" PRIu64, indent6, channel->attr.subbuf_size); + MSG("%ssubbuffers size: %" PRIu64 " bytes", indent6, channel->attr.subbuf_size); MSG("%snumber of subbuffers: %" PRIu64, indent6, channel->attr.num_subbuf); - MSG("%sswitch timer interval: %u", indent6, channel->attr.switch_timer_interval); - MSG("%sread timer interval: %u", indent6, channel->attr.read_timer_interval); - MSG("%smonitor timer interval: %" PRIu64, indent6, monitor_timer_interval); - MSG("%sblocking timeout (µs): %" PRId64, indent6, blocking_timeout); + MSG("%sswitch timer interval: %u µs", indent6, channel->attr.switch_timer_interval); + MSG("%sread timer interval: %u µs", indent6, channel->attr.read_timer_interval); + MSG("%smonitor timer interval: %" PRIu64 " µs", indent6, monitor_timer_interval); + MSG("%sblocking timeout: %" PRId64 " µs", indent6, blocking_timeout); MSG("%strace file count: %" PRIu64, indent6, channel->attr.tracefile_count); - MSG("%strace file size (bytes): %" PRIu64, indent6, channel->attr.tracefile_size); + MSG("%strace file size: %" PRIu64 " bytes", indent6, channel->attr.tracefile_size); MSG("%sdiscarded events: %" PRIu64, indent6, discarded_events); MSG("%slost packets: %" PRIu64, indent6, lost_packets); switch (channel->attr.output) { -- 2.34.1