From: Mathieu Desnoyers Date: Fri, 2 Mar 2012 15:12:42 +0000 (-0500) Subject: Fix: use transport name as channel name X-Git-Tag: v2.0.0-rc2~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5f5ddf015e2f7aea813b99ef61d80a7af051c5b9;p=lttng-modules.git Fix: use transport name as channel name Clarify dmesg printout. Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-events.c b/lttng-events.c index a0620446..fba5a8eb 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -232,9 +232,9 @@ struct lttng_channel *lttng_channel_create(struct lttng_session *session, * headers. Therefore the "chan" information used as input * should be already accessible. */ - chan->chan = transport->ops.channel_create("[lttng]", chan, buf_addr, - subbuf_size, num_subbuf, switch_timer_interval, - read_timer_interval); + chan->chan = transport->ops.channel_create(transport_name, + chan, buf_addr, subbuf_size, num_subbuf, + switch_timer_interval, read_timer_interval); if (!chan->chan) goto create_error; chan->enabled = 1;