From: Philippe Proulx Date: Tue, 29 Nov 2016 03:16:34 +0000 (-0500) Subject: lttng-ust(3): document liblttng-ust-fd X-Git-Tag: v2.9.0~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5a75458c4c41b479f2dcb21f966979a2c8e2279e;p=lttng-ust.git lttng-ust(3): document liblttng-ust-fd Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/man/lttng-ust.3.txt b/doc/man/lttng-ust.3.txt index 93cce8ef..3159d627 100644 --- a/doc/man/lttng-ust.3.txt +++ b/doc/man/lttng-ust.3.txt @@ -738,6 +738,12 @@ without a following man:exec(3) family system call. The library application with the `LD_PRELOAD` environment variable (see man:ld.so(8)). +To use `liblttng-ust` with a daemon application which closes file +descriptors that were not opened by it, preload the `liblttng-ust-fd.so` +library before you start the application. Typical use cases include +daemons closing all file descriptors after man:fork(2), and buggy +applications doing ``double-closes''. + Context information ~~~~~~~~~~~~~~~~~~~