relayd: track directory handles through the fd-tracker
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jan 2020 16:45:07 +0000 (11:45 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 31 Jan 2020 21:14:34 +0000 (16:14 -0500)
commitdd95933f8371a8c81ffc1dc5b306f2263f1ff808
tree0724026d1cdbe8e454dbb5d65a2b57377bf613e0
parent9d16b343fb9e781fc8d8fa3c448a3f382306dd33
relayd: track directory handles through the fd-tracker

Track directory handles through the fd-tracker as unsuspendable
file descriptors. New fd-tracker utils are introduced to wrap
the creation and registration of the file descriptors to the
fd-tracker.

Note that file descriptors only need to be tracked when the
dirfd-backed implementation of the directory handles is used.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I754af1943f5d6f02a6219d48c8fc4b8106de1c13
src/bin/lttng-relayd/session.c
src/common/compat/directory-handle.c
src/common/compat/directory-handle.h
src/common/fd-tracker/fd-tracker.c
src/common/fd-tracker/inode.c
src/common/fd-tracker/inode.h
src/common/fd-tracker/utils.c
src/common/fd-tracker/utils.h
src/common/trace-chunk.c
This page took 0.027274 seconds and 4 git commands to generate.