When babeltrace (and lttng view) output is redirected from stdout while receiving live traces it does not print events as they come in (using > not --output since --output doesn't work)
Components involved: babeltrace and lttngview
Component version: How do you get babeltrace's version!? LTTng version: 2.6.0
System information: Linux leojweda-VirtualBox 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 GNU/Linux
Expected results: When running "lttng view > someFile" the events get written to the file as they come in. See how redirecting output to a file works with ping.
Actual results: The events get dumped to the file after about a minute or two, or when the session ends. It works fine if the output is left to stdout.
Steps to reproduce:
lttng create Failover --live
(in a different terminal)