Overwrite the config file on create session
[lttng-tools.git] / lttng / commands / add_channel.c
index ea7db820e0a1006ec754e6fd828cad7c9fa9e417..0fb0e25938a5bc929b9858385c3aee7944f00100 100644 (file)
@@ -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_KERNEL_CHANNEL_OUTPUT;
 }
 
 /*
This page took 0.026273 seconds and 5 git commands to generate.