Fix: kernel tracing: flush after stop
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 May 2016 18:04:12 +0000 (14:04 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 19:21:53 +0000 (15:21 -0400)
commit64a269c3d21805e4053ab4da67f330b03bd1bfbf
treeeadb301da8c1d12a2d880685e78d11a27110c3c8
parentf21fa4fd488ef62230e01c9076f2aab06f2b6b7b
Fix: kernel tracing: flush after stop

We should flush the last packet after stop, not before. Otherwise, we
may end up with events written immediately after the flush, which
defeats the purpose of flushing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.024595 seconds and 4 git commands to generate.