From 5a75458c4c41b479f2dcb21f966979a2c8e2279e Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 28 Nov 2016 22:16:34 -0500 Subject: [PATCH] lttng-ust(3): document liblttng-ust-fd Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- doc/man/lttng-ust.3.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 ~~~~~~~~~~~~~~~~~~~ -- 2.34.1