Add channel output method selection
[lttng-tools.git] / ltt-sessiond / main.c
index cdeb009118f37c6fe0f573d952454e145addd71f..92e41b1c6aff91b1573843079cfd3420b38dc275 100644 (file)
@@ -720,6 +720,7 @@ static struct lttng_channel *init_default_channel(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;
 
 error:
        return chan;
@@ -1166,7 +1167,6 @@ static int process_client_msg(struct command_ctx *cmd_ctx)
                                ret = kernel_create_event(&ev_attr, chan);
                                if (ret < 0) {
                                        /* Ignore error here and continue */
-                                       continue;
                                }
                        }
 
This page took 0.023496 seconds and 4 git commands to generate.