From: Jonathan Rajotte Date: Tue, 13 Mar 2018 22:13:39 +0000 (-0400) Subject: Cleanup: wpipe already contain kernel_tracer_fd X-Git-Tag: v2.11.0-rc1~207 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=462ae7ae036d5f0b4be820345f324e77f5b607c1;hp=3044f922f5125b490a1815d5913f8b9d00e21e9a Cleanup: wpipe already contain kernel_tracer_fd Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 8c51037b6..6722341bb 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -1153,7 +1153,7 @@ static int start_kernel_session(struct ltt_kernel_session *ksess, int wpipe) } /* Quiescent wait after starting trace */ - kernel_wait_quiescent(kernel_tracer_fd); + kernel_wait_quiescent(wpipe); ksess->active = 1;