X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=doc%2Fman%2Flttng-ust.3;h=c6f1935c98a383e4e666ad6962796f0a799ca2f0;hb=38f5f44038d507633cf7ed0fd90cbfe5d758f6dd;hp=081f0a73c83d3feae061682b945e8e0dd66cc752;hpb=2bda849dea6307107f4e0c6d5938df1907dd6b9d;p=lttng-ust.git diff --git a/doc/man/lttng-ust.3 b/doc/man/lttng-ust.3 index 081f0a73..c6f1935c 100644 --- a/doc/man/lttng-ust.3 +++ b/doc/man/lttng-ust.3 @@ -257,7 +257,7 @@ carefully: - If building the provider directly into the application, link the application with "\-llttng-ust". - If building a static library for the provider, link the static - library with "\-lllttng-ust". + library with "\-llttng-ust". - Include the tracepoint provider header into all C files using the provider. - Example: @@ -293,6 +293,17 @@ carefully: .fi +.SH "USING LTTNG UST WITH DAEMONS" + +.nf +Some extra care is needed when using liblttng-ust with daemon +applications that call fork(), clone(), or BSD rfork() without a +following exec() family system call. The library "liblttng-ust-fork.so" +needs to be preloaded for the application (launch with e.g. +LD_PRELOAD=liblttng-ust-fork.so appname). + +.fi + .SH "ENVIRONMENT VARIABLES" .PP