Fix: sessiond: error reported on session destruction for old modules
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Apr 2020 04:25:11 +0000 (00:25 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 Apr 2020 23:47:19 +0000 (19:47 -0400)
commit407d6c7b0f04745ec5455e2a031165cf1be9e091
tree9bd48f03d886f27500d08e090e38559685ac7a35
parent4d0741673dc9d7dc42d51e5b1ef694848f826929
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 <jeremie.galarneau@efficios.com>
Change-Id: Ibccf73f08eecb6431ea3cc358bf8dd6af3ba4427
src/bin/lttng-sessiond/cmd.c
This page took 0.02574 seconds and 4 git commands to generate.