Support the add operation of urcu hash table
[lttng-tools.git] / src / common / kernel-consumer / kernel-consumer.c
index c762934ff92a55569b9323852589157e3e4ceb81..2456d3fc91936c69f074bbd038ee227c46e48220 100644 (file)
@@ -168,6 +168,7 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
                                msg.u.stream.gid,
                                msg.u.stream.net_index,
                                msg.u.stream.metadata_flag,
+                               msg.u.stream.session_id,
                                &alloc_ret);
                if (new_stream == NULL) {
                        switch (alloc_ret) {
@@ -279,6 +280,11 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
 
                goto end_nosignal;
        }
+       case LTTNG_CONSUMER_DATA_AVAILABLE:
+       {
+               rcu_read_unlock();
+               return -ENOSYS;
+       }
        default:
                goto end_nosignal;
        }
This page took 0.023399 seconds and 4 git commands to generate.