From: Mathieu Desnoyers Date: Fri, 2 Mar 2012 15:13:14 +0000 (-0500) Subject: Fix: use transport name as channel name X-Git-Tag: v2.0.0-rc2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e7372d13d01671ae7ca82682c4d12e93153b72d3;p=lttng-ust.git Fix: use transport name as channel name Clarify lost event printout. Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/ltt-events.c b/liblttng-ust/ltt-events.c index ce4c2bb0..b545b633 100644 --- a/liblttng-ust/ltt-events.c +++ b/liblttng-ust/ltt-events.c @@ -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);