X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.c;h=37a803b05ff12d399bb9d6de6a1c8bafe9fb2b2f;hp=386b99ae216504e86cf9225f300816791e4f4234;hb=784303b0777959c71c7f6ad404fea1ed3cc22f14;hpb=49c336c1679295a31b92223dca05feccfe3e3464 diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 386b99ae2..37a803b05 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -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