Fix: wrong error code returned by kernel_snapshot_record()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 27 Mar 2019 19:42:19 +0000 (15:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 29 Mar 2019 16:00:37 +0000 (12:00 -0400)
commite569405f2cc82525cf67cf5f34cd9ea59aa984c0
tree3774c2c3a8331b8b7b3f2e8cb1bbfed09d31cb21
parente435a72416ea470f5e1d951cf1bb7dfaf31651bd
Fix: wrong error code returned by kernel_snapshot_record()

On snapshot error, kernel_snapshot_record() can return
LTTNG_ERR_KERN_CONSUMER_FAIL which means that the kernel consumer
daemon failed to launch. In this path, the appropriate error to
return is LTTNG_ERR_KERN_META_FAIL.

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