projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: allow quiet rotation at destroy of live session
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
agent-thread.c
diff --git
a/src/bin/lttng-sessiond/agent-thread.c
b/src/bin/lttng-sessiond/agent-thread.c
index 3ee383389d5e35927b9787e221fc3e51a0cf2b03..575f6aee934a504ddb6248d4e87610d622d0959c 100644
(file)
--- a/
src/bin/lttng-sessiond/agent-thread.c
+++ b/
src/bin/lttng-sessiond/agent-thread.c
@@
-404,11
+404,6
@@
restart:
revents = LTTNG_POLL_GETEV(&events, i);
pollfd = LTTNG_POLL_GETFD(&events, i);
revents = LTTNG_POLL_GETEV(&events, i);
pollfd = LTTNG_POLL_GETFD(&events, i);
- if (!revents) {
- /* No activity for this FD (poll implementation). */
- continue;
- }
-
/* Thread quit pipe has been closed. Killing thread. */
if (pollfd == quit_pipe_read_fd) {
goto exit;
/* Thread quit pipe has been closed. Killing thread. */
if (pollfd == quit_pipe_read_fd) {
goto exit;
@@
-504,7
+499,7
@@
bool launch_agent_management_thread(void)
notifiers = zmalloc(sizeof(*notifiers));
if (!notifiers) {
notifiers = zmalloc(sizeof(*notifiers));
if (!notifiers) {
- goto error;
+ goto error
_alloc
;
}
sem_init(¬ifiers->ready, 0, 0);
}
sem_init(¬ifiers->ready, 0, 0);
@@
-525,5
+520,6
@@
bool launch_agent_management_thread(void)
return true;
error:
cleanup_agent_management_thread(notifiers);
return true;
error:
cleanup_agent_management_thread(notifiers);
+error_alloc:
return false;
}
return false;
}
This page took
0.025382 seconds
and
4
git commands to generate.