From: Jérémie Galarneau Date: Tue, 26 Jan 2021 23:15:15 +0000 (-0500) Subject: sessiond: unregister triggers during clean-up on shutdown X-Git-Tag: v2.13.0-rc1~365 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b69a1b4064e50db1192d79fd92305182cfc5829e;hp=b69a1b4064e50db1192d79fd92305182cfc5829e 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 Change-Id: Ie821c5162c2fbe9c3d6705f464224c50ae9df1c8 ---