From 596219f7620add67e61a4666e7b5f4b1e79ade1a Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 23 Nov 2011 16:22:02 -0500 Subject: [PATCH 1/1] Fix missing channel name copy for auto channel creation Signed-off-by: David Goulet --- lttng-sessiond/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lttng-sessiond/main.c b/lttng-sessiond/main.c index e079afb7d..4bb724037 100644 --- a/lttng-sessiond/main.c +++ b/lttng-sessiond/main.c @@ -2445,6 +2445,7 @@ static int cmd_enable_event(struct ltt_session *session, int domain, ret = LTTCOMM_FATAL; goto error; } + snprintf(attr->name, NAME_MAX, "%s", channel_name); /* Use the internal command enable channel */ ret = cmd_enable_channel(session, domain, attr); -- 2.34.1