From: Jérémie Galarneau Date: Fri, 22 Nov 2019 23:46:47 +0000 (-0500) Subject: fd-tracker: add epoll/poll management wrappers to fd-tracker X-Git-Tag: v2.12.0-rc1~226 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=184597e3d22331d64e93acab4691670534f218cb;hp=184597e3d22331d64e93acab4691670534f218cb;p=lttng-tools.git fd-tracker: add epoll/poll management wrappers to fd-tracker Add wrappers which create an lttng_poll_event object, tracking any file descriptor created in the process of initializing the object. When the build is configured to use the epoll interface, the underlying epoll fd is tracked by the fd-tracker. If the build is configured to use the poll interace, the fd tracker is not involved in the process and the utility will simply defer the call to lttng_poll_create() directly. Signed-off-by: Jérémie Galarneau ---