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)
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>

No differences found
This page took 0.025566 seconds and 4 git commands to generate.