Fix: use transport name as channel name
[lttng-ust.git] / liblttng-ust / ltt-events.c
index ce4c2bb01719baab3b8bbf0f52fded018881bfef..b545b6338a0d4448e43648364fd68b3dcf4ceaaf 100644 (file)
@@ -453,7 +453,7 @@ struct ltt_channel *ltt_channel_create(struct ltt_session *session,
         * headers. Therefore the "chan" information used as input
         * should be already accessible.
         */
-       chan = transport->ops.channel_create("[lttng]", buf_addr,
+       chan = transport->ops.channel_create(transport_name, buf_addr,
                        subbuf_size, num_subbuf, switch_timer_interval,
                        read_timer_interval, shm_fd, wait_fd,
                        memory_map_size, chan_priv_init);
This page took 0.023052 seconds and 4 git commands to generate.