Fix: don't create a channel on an enable channel
authorDavid Goulet <dgoulet@efficios.com>
Mon, 6 May 2013 15:53:02 +0000 (11:53 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 6 May 2013 15:53:02 +0000 (11:53 -0400)
Fixes #465

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/channel.c

index db653dcb4f2901bd397fd22a3947f6499e8460bf..ff2db69db7389976c0c1dd3bd891cf5fbc969620 100644 (file)
@@ -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);
This page took 0.026599 seconds and 4 git commands to generate.