Fix: sessiond: erroneous error code returned on rotation failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Apr 2020 02:16:32 +0000 (22:16 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 Apr 2020 23:47:19 +0000 (19:47 -0400)
commit4d0741673dc9d7dc42d51e5b1ef694848f826929
tree4c514fa6ca8934e07eccb5de1332120398a4b12a
parent64da6b6e78ec1273564d498e94d4dd008ecc5d29
Fix: sessiond: erroneous error code returned on rotation failure

`LTTNG_ERR_KERN_CONSUMER_FAIL` is returned by the kernel domain
rotation handling code. This code is associated with a failure to
launch the kernel consumer daemon which is not the case here.

The `LTTNG_ERR_ROTATION_FAIL_CONSUMER` is used instead and returned to
the client.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ifdc9e46addcc4dc7ca2002d6dff5b2d7ac6c31f3
src/bin/lttng-sessiond/kernel.c
This page took 0.025276 seconds and 4 git commands to generate.