From 321d3c8d294668d0699d20e14e3c7f26398b8815 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 8ecda775..ed525f6e 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