Add channel output method selection
[lttng-tools.git] / lttng / commands / add_channel.c
index 6b41e875affd59b68fa44af1b8f2d5481fd03fe6..0cc8e4baa0b43ff2e1757d6d2e3926e62a1d6562 100644 (file)
@@ -26,7 +26,7 @@
 #include <unistd.h>
 
 #include "cmd.h"
-#include "config.h"
+#include "conf.h"
 #include "utils.h"
 
 static char *opt_channel_name;
@@ -144,6 +144,7 @@ static void init_channel_config(void)
        chan.attr.num_subbuf = DEFAULT_CHANNEL_SUBBUF_NUM;
        chan.attr.switch_timer_interval = DEFAULT_CHANNEL_SWITCH_TIMER;
        chan.attr.read_timer_interval = DEFAULT_CHANNEL_READ_TIMER;
+       chan.attr.output = DEFAULT_CHANNEL_OUTPUT;
 }
 
 /*
This page took 0.023127 seconds and 4 git commands to generate.