projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relayd: track the quit pipe with the fd-tracker
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.c
diff --git
a/src/bin/lttng-relayd/main.c
b/src/bin/lttng-relayd/main.c
index ab7d914563cd0a8e7a3b016ecb2f7e278ec9ebfc..e8af73a98fe0736d0f5fdb317b38906de7b55c7e 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-564,7
+564,7
@@
static void relayd_cleanup(void)
free(opt_output_path);
/* Close thread quit pipes */
free(opt_output_path);
/* Close thread quit pipes */
-
utils_close_pipe(
thread_quit_pipe);
+
(void) fd_tracker_util_pipe_close(the_fd_tracker,
thread_quit_pipe);
uri_free(control_uri);
uri_free(data_uri);
uri_free(control_uri);
uri_free(data_uri);
@@
-727,11
+727,8
@@
void lttng_relay_notify_ready(void)
*/
static int init_thread_quit_pipe(void)
{
*/
static int init_thread_quit_pipe(void)
{
- int ret;
-
- ret = utils_create_pipe_cloexec(thread_quit_pipe);
-
- return ret;
+ return fd_tracker_util_pipe_open_cloexec(the_fd_tracker,
+ "Quit pipe", thread_quit_pipe);
}
/*
}
/*
This page took
0.02419 seconds
and
5
git commands to generate.