From 8a78c3baad2d83207c672381826668751b340b29 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 6 May 2013 11:55:35 -0400 Subject: [PATCH] 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 --- src/bin/lttng-sessiond/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.34.1