From: David Goulet Date: Mon, 6 May 2013 15:53:02 +0000 (-0400) Subject: Fix: don't create a channel on an enable channel X-Git-Tag: v2.2.0-rc2~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d54b4440428fedc9c7ec6af65586746ff027fb19;p=lttng-tools.git Fix: don't create a channel on an enable channel Fixes #465 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/channel.c b/src/bin/lttng-sessiond/channel.c index db653dcb4..ff2db69db 100644 --- a/src/bin/lttng-sessiond/channel.c +++ b/src/bin/lttng-sessiond/channel.c @@ -214,7 +214,7 @@ int channel_ust_enable(struct ltt_ust_session *usess, * successfully created on the session daemon side so the enable-channel * command is a success. */ - (void) ust_app_create_channel_glb(usess, uchan); + (void) ust_app_enable_channel_glb(usess, uchan); uchan->enabled = 1; DBG2("Channel %s enabled successfully", uchan->name);