From: David Goulet Date: Mon, 6 May 2013 15:55:35 +0000 (-0400) Subject: Fix: don't create a channel on an enable channel X-Git-Tag: v2.1.2~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8a78c3baad2d83207c672381826668751b340b29;p=lttng-tools.git Fix: don't create a channel on an enable channel Backported from master branch of the 2.2 development cycle. Commit: d54b4440428fedc9c7ec6af65586746ff027fb19 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/channel.c b/src/bin/lttng-sessiond/channel.c index 559c3d154..4bd3824e7 100644 --- a/src/bin/lttng-sessiond/channel.c +++ b/src/bin/lttng-sessiond/channel.c @@ -199,7 +199,7 @@ int channel_ust_enable(struct ltt_ust_session *usess, int domain, * channel was 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); break; #if 0 case LTTNG_DOMAIN_UST_PID: