X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fust-consumer%2Fust-consumer.c;h=f802c462d4393565d5c3da60be70bd6b8d1cad3e;hb=536322299f7fc9ef136a0d7e50ba8e1b5d7a754b;hp=dea92ac2374f3f5127dc97389ed6f054d8f49d69;hpb=3cc2f24a5cdabfbcb1022c0798f6b4845f72b498;p=lttng-tools.git diff --git a/src/common/ust-consumer/ust-consumer.c b/src/common/ust-consumer/ust-consumer.c index dea92ac23..f802c462d 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -205,6 +205,7 @@ int lttng_ustconsumer_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) { @@ -309,6 +310,11 @@ int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx, rcu_read_unlock(); return -ENOSYS; } + case LTTNG_CONSUMER_DATA_AVAILABLE: + { + rcu_read_unlock(); + return -ENOSYS; + } default: break; }