[lttng-dev] [PATCH lttng-tools] lttng list shows tracefile-size and tracefile–count

Ruslan Uvashev ruslan.uvashev at gmail.com
Mon May 5 02:00:06 EDT 2014

The lttng list <session> command gives the subbuf-size and num-subbuf
values of each channel
along with all their other attributes, except for their tracefile-size and
tracefile–count values.

Fixes: #642

Signed-off-by: Ruslan Uvashev <Ruslan.Uvashev at gmail.com>
 src/bin/lttng/commands/list.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c
index f69b3ba..8f47cc9 100644
--- a/src/bin/lttng/commands/list.c
+++ b/src/bin/lttng/commands/list.c
@@ -645,6 +645,8 @@ static void print_channel(struct lttng_channel *channel)
  MSG("%snumber of subbufers: %" PRIu64, indent6, channel->attr.num_subbuf);
  MSG("%sswitch timer interval: %u", indent6,
  MSG("%sread timer interval: %u", indent6,
+ MSG("%stracefile count: %" PRIu64, indent6,
+ MSG("%stracefile size: %" PRIu64, indent6, channel->attr.tracefile_size);
  switch (channel->attr.output) {
  MSG("%soutput: splice()", indent6);

Best regards,
Ruslan Uvashev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140504/3bcea9fd/attachment.html>

More information about the lttng-dev mailing list