projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Validate channel context mismatch across UST applications
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread-events.c
diff --git
a/src/bin/lttng-sessiond/notification-thread-events.c
b/src/bin/lttng-sessiond/notification-thread-events.c
index 9e5ec509135bd6d2818b6d6635ea6cdd0acf82ea..1388b3ce34a0f743e3475af910e692502a4592ab 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread-events.c
+++ b/
src/bin/lttng-sessiond/notification-thread-events.c
@@
-2153,6
+2153,12
@@
int remove_tracer_event_source_from_pollset(
source_element->is_fd_in_poll_set = false;
source_element->is_fd_in_poll_set = false;
+ /*
+ * Force the notification thread to restart the poll() loop to ensure
+ * that any events from the removed fd are removed.
+ */
+ state->restart_poll = true;
+
ret = drain_event_notifier_notification_pipe(state, source_element->fd,
source_element->domain);
if (ret) {
ret = drain_event_notifier_notification_pipe(state, source_element->fd,
source_element->domain);
if (ret) {
@@
-4421,7
+4427,8
@@
int notification_client_list_send_evaluation(
* Notifications resulting from an hidden trigger are
* only sent to the session daemon.
*/
* Notifications resulting from an hidden trigger are
* only sent to the session daemon.
*/
- continue;
+ DBG("Skipping client as the trigger is hidden and the client is not the session daemon");
+ goto skip_client;
}
if (source_object_creds) {
}
if (source_object_creds) {
This page took
0.025427 seconds
and
4
git commands to generate.