projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backport: 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 0d270d1ca29e5c0e0c5e0d642011d583198ca5bd..39bb32f1b0e198325c8213e04f782b1f6de118ad 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-620,7
+620,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);
@@
-783,11
+783,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.045943 seconds
and
5
git commands to generate.