Fix: create_kernel_session asserts on failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Jan 2019 17:40:47 +0000 (12:40 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Jan 2019 17:40:49 +0000 (12:40 -0500)
commit5d0a7bcb4407e434e2278ce3a7be2c30d00c3313
tree77357d99ffca1580e5dbe1a486391a16c99d23a8
parentf12e3556cad1baa0af6993ae0072c19b317cbc34
Fix: create_kernel_session asserts on failure

create_kernel_session() will call trace_kernel_destroy_session()
on failure to create a kernel session (e.g. modules failed to load).

This can be reproduced by enabling kernel events on a session after
the session daemon has failed to load the LTTng kernel modules.

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