sessiond: unregister triggers during clean-up on shutdown
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Jan 2021 23:15:15 +0000 (18:15 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 28 Jan 2021 23:08:04 +0000 (18:08 -0500)
commitb69a1b4064e50db1192d79fd92305182cfc5829e
tree3ca178ccc0966581940841f16fdb410e6b9c3296
parent746e08d773ef6c7bbbae1334350b8a2c46aaeb0e
sessiond: unregister triggers during clean-up on shutdown

Triggers should be unregistered on sessiond clean-up. This allows the
kernel and user space tracer control code to assume that all event
notifiers have already been destroyed on tear-down and that any
remaining event notifier is the result of a leak.

Moreover, it simplifies the tear down as it is simply handled in the
way a regular trigger unregistration would be.

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