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>
Thu, 28 Mar 2019 19:52:47 +0000 (15:52 -0400)
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>

No differences found
This page took 0.02892 seconds and 5 git commands to generate.