Fix: bad pathname used when sending kernel stream to relayd
authorDavid Goulet <dgoulet@efficios.com>
Thu, 4 Jul 2013 20:14:46 +0000 (16:14 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 5 Jul 2013 18:26:02 +0000 (14:26 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/kernel-consumer/kernel-consumer.c

index bdf0eff7c4a2b56a72bdda1f5bd06ea35e213a98..67f60d816c0de6c31407840f5f2b2b160e049f1b 100644 (file)
@@ -629,7 +629,8 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
 
                /* Send stream to relayd if the stream has an ID. */
                if (new_stream->net_seq_idx != (uint64_t) -1ULL) {
-                       ret = consumer_send_relayd_stream(new_stream, NULL);
+                       ret = consumer_send_relayd_stream(new_stream,
+                                       new_stream->chan->pathname);
                        if (ret < 0) {
                                consumer_stream_free(new_stream);
                                goto end_nosignal;
This page took 0.025664 seconds and 4 git commands to generate.