Implement channel fd monitoring thread for UST
[lttng-tools.git] / src / common / kernel-consumer / kernel-consumer.c
index ca1e98be1f359dc08dfba8a41d3c61832ad23d9f..0de73443e1bee5c51549e608d20b1548cb007257 100644 (file)
@@ -153,12 +153,12 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
                if (ctx->on_recv_channel != NULL) {
                        ret = ctx->on_recv_channel(new_channel);
                        if (ret == 0) {
-                               consumer_add_channel(new_channel);
+                               consumer_add_channel(new_channel, ctx);
                        } else if (ret < 0) {
                                goto end_nosignal;
                        }
                } else {
-                       consumer_add_channel(new_channel);
+                       consumer_add_channel(new_channel, ctx);
                }
                goto end_nosignal;
        }
This page took 0.023559 seconds and 4 git commands to generate.