relayd: track worker thread's epoll fd using the fd-tracker
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2019 23:14:57 +0000 (18:14 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jan 2020 06:55:34 +0000 (01:55 -0500)
commite32a08649483b8b1dabd5335628041e1365b5b08
tree4fe76841c067967d0ee19a598e58d2114a0a84a8
parent1c9bd75bb3b9042c5ba1221c344af8b80b9dcaaf
relayd: track worker thread's epoll fd using the fd-tracker

This commit introduces an fd leak report (bogus) which is caused
by another thread using the same poll initialization functions as
the worker thread.

The fd is cleaned-up by that other thread, but the fd-tracker
is not aware of this, thus causing the report.

This is adressed in a follow-up patch.

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