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 <[email protected]>
---
 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,
channel->attr.switch_timer_interval);
  MSG("%sread timer interval: %u", indent6,
channel->attr.read_timer_interval);
+ MSG("%stracefile count: %" PRIu64, indent6,
channel->attr.tracefile_count);
+ MSG("%stracefile size: %" PRIu64, indent6, channel->attr.tracefile_size);
  switch (channel->attr.output) {
  case LTTNG_EVENT_SPLICE:
  MSG("%soutput: splice()", indent6);
-- 
1.8.3.2



-------------------------------------
Best regards,
Ruslan Uvashev
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to