From: Jérémie Galarneau Date: Fri, 18 Dec 2020 21:15:18 +0000 (-0500) Subject: notification: mark tracer source element as out of poll set X-Git-Tag: v2.13.0-rc1~391 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=173900f678f7f969c79a88ceac2f1e4be2588f79;p=lttng-tools.git notification: mark tracer source element as out of poll set Mark the tracer source element as being out of the notification thread's poll set once it has been removed. This has no effect right now, but it is less error-prone considering future changes to this function. Signed-off-by: Jérémie Galarneau Change-Id: Ia4d08dabd6b07ec455fe3120b7188e414232536e --- diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 81fba4e69..049a6d3fc 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -1994,6 +1994,8 @@ int handle_notification_thread_command_remove_tracer_event_source( goto end; } + source_element->is_fd_in_poll_set = false; + end: free(source_element); *_cmd_result = cmd_result;