Bug #863
closedLive tracing does not honor live timer after first tracefile with tracefile rotation
100%
Description
When we pass to the 2nd sub-file (or following sub-files) of a stream in relayd, the live timer has no visible effect from a live reader perspective, and then everything is flushed when we reach the following sub-file.
How to reproduce:
lttng-sessiond -d
lttng-relayd -d
lttng create --live -U net://localhost
lttng enable-channel chan -u --num-subbuf 64 --subbuf-size 4096 -C 524288 -W 4
lttng enable-event -u -a -c chan
lttng start
With hello UST test program modified to output one event per second (forever).
Hook babeltrace to the live stream on relayd.
Wait for the first trace file to fill up (monitor the relayd trace directory).
You can use taskset -c 0 ./hello
to control which CPU hello runs on (eliminates migration).
Updated by Mathieu Desnoyers over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset tools|commit:d00b982bd5afb45511b9ca6e0a94e7b148518705.