Revert "Improve channel listing output format"
authorDavid Goulet <dgoulet@efficios.com>
Tue, 4 Jun 2013 14:36:57 +0000 (10:36 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 4 Jun 2013 14:36:57 +0000 (10:36 -0400)
This changed the text output *after* rc1. We'll keep this in the back
burner for 2.3.

This reverts commit e78de861055e6288d11348866681d1373ed81aec.

src/bin/lttng/commands/list.c

index 280f9ddf7368141b6fd3da8e735c082f9e4bf613..db993df75d8d15b111fb0f4a6c93a74bd8073c0c 100644 (file)
@@ -507,15 +507,11 @@ static void print_channel(struct lttng_channel *channel)
        MSG("- %s:%s\n", channel->name, enabled_string(channel->enabled));
 
        MSG("%sAttributes:", indent4);
-       MSG("%swrite mode: %s", indent6,
-                       channel->attr.overwrite == 0 ? "discard" : "overwrite");
-       MSG("%ssubbufers size: %" PRIu64 " bytes", indent6,
-                       channel->attr.subbuf_size);
+       MSG("%soverwrite mode: %d", indent6, channel->attr.overwrite);
+       MSG("%ssubbufers size: %" PRIu64, indent6, channel->attr.subbuf_size);
        MSG("%snumber of subbufers: %" PRIu64, indent6, channel->attr.num_subbuf);
-       MSG("%sswitch timer interval: %u usec", indent6,
-                       channel->attr.switch_timer_interval);
-       MSG("%sread timer interval: %u usec", indent6,
-                       channel->attr.read_timer_interval);
+       MSG("%sswitch timer interval: %u", indent6, channel->attr.switch_timer_interval);
+       MSG("%sread timer interval: %u", indent6, channel->attr.read_timer_interval);
        switch (channel->attr.output) {
                case LTTNG_EVENT_SPLICE:
                        MSG("%soutput: splice()", indent6);
This page took 0.035371 seconds and 4 git commands to generate.