From: Jérémie Galarneau Date: Thu, 2 Apr 2020 04:57:38 +0000 (-0400) Subject: Fix: consumer: fallback to flush when flush empty is unsupported X-Git-Tag: v2.13.0-rc1~691 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=3f0c969023c8aa14ed2ad12a97a8a70e07254dc6;hp=3f0c969023c8aa14ed2ad12a97a8a70e07254dc6 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 Change-Id: Ifdf8a4e60b55dbf582747d71f5c2485d24c11964 ---