Fix: set globally visible flag to kernel stream
authorDavid Goulet <dgoulet@efficios.com>
Fri, 5 Jul 2013 19:39:21 +0000 (15:39 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 5 Jul 2013 19:39:21 +0000 (15:39 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/kernel-consumer/kernel-consumer.c

index 5c0dce45d27e87337c3c3190551522f122c4b49f..42af65ac3d8c715a8a0851cd44dfdb54f9278072 100644 (file)
@@ -656,6 +656,8 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
                        consumer_stream_free(new_stream);
                        goto end_nosignal;
                }
+               /* Successfully sent to the right thread. */
+               new_stream->globally_visible = 1;
 
                DBG("Kernel consumer ADD_STREAM %s (fd: %d) with relayd id %" PRIu64,
                                new_stream->name, fd, new_stream->relayd_stream_id);
This page took 0.025938 seconds and 4 git commands to generate.