From: Jérémie Galarneau Date: Thu, 2 Apr 2020 04:25:11 +0000 (-0400) Subject: Fix: sessiond: error reported on session destruction for old modules X-Git-Tag: v2.13.0-rc1~693 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=53fb6336415e5f19b6e8c4baeb0d0555ed5d6e66;hp=53fb6336415e5f19b6e8c4baeb0d0555ed5d6e66;p=lttng-tools.git Fix: sessiond: error reported on session destruction for old modules The session destruction command will return -LTTNG_ERR_ROTATION_NOT_AVAILABLE_KERNEL when the kernel tracer version does not support packet sequence numbers which prevents rotations from being performed. It is okay to not perform an implicit rotation in this case since we know that no rotations have occurred during the session's lifetime (as it is not supported). Thus, the client/library only needs to stop the session, wait for pending data, and destroy the session. Signed-off-by: Jérémie Galarneau Change-Id: Ibccf73f08eecb6431ea3cc358bf8dd6af3ba4427 ---