projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove ignored flags from poll events bitmasks
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notify-apps.cpp
diff --git
a/src/bin/lttng-sessiond/notify-apps.cpp
b/src/bin/lttng-sessiond/notify-apps.cpp
index 1b83491d14b920686898a77a0f249bda42223520..ff70ac187dcaff606ee0e8e73b97c18d99e53a7b 100644
(file)
--- a/
src/bin/lttng-sessiond/notify-apps.cpp
+++ b/
src/bin/lttng-sessiond/notify-apps.cpp
@@
-58,13
+58,12
@@
static void *thread_application_notification(void *data)
/* Add notify pipe to the pollset. */
ret = lttng_poll_add(&events, notifiers->apps_cmd_notify_pipe_read_fd,
/* Add notify pipe to the pollset. */
ret = lttng_poll_add(&events, notifiers->apps_cmd_notify_pipe_read_fd,
- LPOLLIN | LPOLL
ERR | LPOLLHUP | LPOLL
RDHUP);
+ LPOLLIN | LPOLLRDHUP);
if (ret < 0) {
goto error;
}
if (ret < 0) {
goto error;
}
- ret = lttng_poll_add(&events, thread_quit_pipe_fd,
- LPOLLIN | LPOLLERR);
+ ret = lttng_poll_add(&events, thread_quit_pipe_fd, LPOLLIN);
if (ret < 0) {
goto error;
}
if (ret < 0) {
goto error;
}
@@
-121,8
+120,7
@@
restart:
}
health_code_update();
}
health_code_update();
- ret = lttng_poll_add(&events, sock,
- LPOLLIN | LPOLLERR | LPOLLHUP | LPOLLRDHUP);
+ ret = lttng_poll_add(&events, sock, LPOLLIN | LPOLLRDHUP);
if (ret < 0) {
/*
* It's possible we've reached the max poll fd allowed.
if (ret < 0) {
/*
* It's possible we've reached the max poll fd allowed.
This page took
0.023548 seconds
and
4
git commands to generate.