relayd: track the live_conn_pipe with the fd-tracker
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 27 Nov 2019 05:23:15 +0000 (00:23 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jan 2020 06:55:34 +0000 (01:55 -0500)
commit87bcbe91a9b75f0c6240f01105cfa00fb0b4d052
tree8ff36913fb55b3407f12effb506f0bbe711d77e7
parentba9cf8e1541ccb6e7698314512d519c1fd9787bf
relayd: track the live_conn_pipe with the fd-tracker

Create the relayd live connection pipe through the
fd_tracker_util_pipe_open_cloexec() function which wraps
utils_create_pipe_cloexec(), but tracks the resulting file descriptor.

The close of the pipe is also performed through the fd tracker.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I967c2fbecfb5dacfb8c41cad113604bad78dad65
src/bin/lttng-relayd/live.c
This page took 0.025659 seconds and 5 git commands to generate.