Fix: consumer: fallback to flush when flush empty is unsupported
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Apr 2020 04:57:38 +0000 (00:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 Apr 2020 23:47:19 +0000 (19:47 -0400)
commita59154c54172a22729795743bfed37d7d6ae771d
treed33bf1d73c91e3d65c3c941e3b33d33f47bc6528
parent95c4203e1763322d3fde17da606309d659d121a1
Fix: consumer: fallback to flush when flush empty is unsupported

Session destruction fails on older (<= 2.8) lttng-modules as the
flush_empty fails on the kernel streams during the quiet rotation.

Fallback to the regular flush as the semantics of regular rotations
are not expected here; we merely want to flush any pending data and
destroy the session.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ifdf8a4e60b55dbf582747d71f5c2485d24c11964
src/common/consumer/consumer.c
This page took 0.02715 seconds and 4 git commands to generate.