projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use pipe instead of eventfd() for notification command queue
[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 bfdbb2085e5e36366ae505ec59a71dde7adcdde6..327ea7fc34907119cde2662bb42ee34262179f5c 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread-events.c
+++ b/
src/bin/lttng-sessiond/notification-thread-events.c
@@
-1275,7
+1275,7
@@
int handle_notification_thread_command(
struct notification_thread_command *cmd;
/* Read event_fd to put it back into a quiescent state. */
struct notification_thread_command *cmd;
/* Read event_fd to put it back into a quiescent state. */
- ret = read(
handle->cmd_queue.event_fd
, &counter, sizeof(counter));
+ ret = read(
lttng_pipe_get_readfd(handle->cmd_queue.event_pipe)
, &counter, sizeof(counter));
if (ret == -1) {
goto error;
}
if (ret == -1) {
goto error;
}
This page took
0.024052 seconds
and
4
git commands to generate.