Fix: lttng-live flush when output to file
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Apr 2016 22:42:06 +0000 (18:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 20 Apr 2016 17:04:48 +0000 (13:04 -0400)
commit857eaa682bde4acfb5b9437ac9ace2d429d7107a
treefb207e12d79436997fcbd6246a92943d4404a149
parent9b6ae25b0e3245ec7f842584e8f77070aa6919f3
Fix: lttng-live flush when output to file

When the standard output is redirected to a file, we need to flush the
output between each packet, otherwise the stream buffering may keep us
from seeing events for a while in a low-throughput trace.

While we are there, document that lttng-live does now support the
--output option in babeltrace 1.x.

Fixes #1010

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
doc/babeltrace.1
formats/lttng-live/lttng-live-comm.c
formats/lttng-live/lttng-live-plugin.c
formats/lttng-live/lttng-live.h
This page took 0.024347 seconds and 4 git commands to generate.