Fix: ust-consumer: flush empty packets on snapshot channel
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 May 2016 18:04:13 +0000 (14:04 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 19:23:42 +0000 (15:23 -0400)
commitde3fb857f034c208c135a10a3cdec2dfe43fbda6
tree3a2ad06e905ced14950da66b2fea5c2ffd3baf70
parent1d4353b26aaf3a73b5ddb39c6151ad55fc474bf3
Fix: ust-consumer: flush empty packets on snapshot channel

Snapshot operation on a non-stopped stream should use a "final" flush to
ensure empty packets are flushed, so we gather timestamps at the moment
where the snapshot is taken. This is important for streams that have a
low amount of activity, which might be on an empty packet when the
snapshot is triggered.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/ust-consumer/ust-consumer.c
This page took 0.024597 seconds and 4 git commands to generate.