projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: Use pkg-config to detect liburcu
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread.c
diff --git
a/src/bin/lttng-sessiond/notification-thread.c
b/src/bin/lttng-sessiond/notification-thread.c
index c964e7c910b062a82753c50c58b78d728a9454c1..ba308bc831d7e26802f6995ae4fa433f89e1ced1 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread.c
+++ b/
src/bin/lttng-sessiond/notification-thread.c
@@
-17,7
+17,6
@@
#include <common/utils.h>
#include <common/align.h>
#include <common/time.h>
#include <common/utils.h>
#include <common/align.h>
#include <common/time.h>
-#include <sys/eventfd.h>
#include <sys/stat.h>
#include <time.h>
#include <signal.h>
#include <sys/stat.h>
#include <time.h>
#include <signal.h>
@@
-375,6
+374,9
@@
void fini_thread_state(struct notification_thread_state *state)
notification_channel_socket_destroy(
state->notification_channel_socket);
}
notification_channel_socket_destroy(
state->notification_channel_socket);
}
+ if (state->executor) {
+ action_executor_destroy(state->executor);
+ }
lttng_poll_clean(&state->events);
}
lttng_poll_clean(&state->events);
}
@@
-473,6
+475,11
@@
int init_thread_state(struct notification_thread_handle *handle,
if (!state->triggers_ht) {
goto error;
}
if (!state->triggers_ht) {
goto error;
}
+
+ state->executor = action_executor_create(handle);
+ if (!state->executor) {
+ goto error;
+ }
mark_thread_as_ready(handle);
end:
return 0;
mark_thread_as_ready(handle);
end:
return 0;
This page took
0.024029 seconds
and
4
git commands to generate.