From: Jérémie Galarneau Date: Thu, 27 Jul 2017 21:55:14 +0000 (-0400) Subject: Uniformize the printing of units in session listing X-Git-Tag: v2.10.0~47 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c37a070063a35aab7f7441865decbee90921bf07;p=lttng-tools.git Uniformize the printing of units in session listing Signed-off-by: Jérémie Galarneau --- 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) {