Fix: Wrong fd used by kernel_wait_quiescent
authorDavid Goulet <dgoulet@efficios.com>
Fri, 9 Nov 2012 18:52:39 +0000 (13:52 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 9 Nov 2012 18:52:39 +0000 (13:52 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c

index 386b99ae216504e86cf9225f300816791e4f4234..37a803b05ff12d399bb9d6de6a1c8bafe9fb2b2f 100644 (file)
@@ -736,7 +736,7 @@ static int start_kernel_session(struct ltt_kernel_session *ksess, int wpipe)
        }
 
        /* Quiescent wait after starting trace */
-       kernel_wait_quiescent(wpipe);
+       kernel_wait_quiescent(kernel_tracer_fd);
 
        ksess->started = 1;
 
@@ -841,7 +841,7 @@ int cmd_enable_channel(struct ltt_session *session,
                        goto error;
                }
 
-               kernel_wait_quiescent(wpipe);
+               kernel_wait_quiescent(kernel_tracer_fd);
 
                /*
                 * If the session was previously started, start as well this newly
This page took 0.028028 seconds and 4 git commands to generate.