X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-ust.3.txt;h=aa157019df41dd474fdeef02ed1984a9b79b6ae3;hb=e436e84d48332d559fe60c1a5eba81f03e9f38f9;hp=ab3c47754b5d78fdeb5a871dbc65de4f7a2db527;hpb=d8e38296bca199c1ae24269b86ed069b62f56aa6;p=lttng-ust.git diff --git a/doc/man/lttng-ust.3.txt b/doc/man/lttng-ust.3.txt index ab3c4775..aa157019 100644 --- a/doc/man/lttng-ust.3.txt +++ b/doc/man/lttng-ust.3.txt @@ -65,7 +65,7 @@ SYNOPSIS #define *tracepoint*('prov_name', 't_name', ...) #define *tracepoint_enabled*('prov_name', 't_name') -Link with `-llttng-ust -ldl`, following this man page. +Link with `-llttng-ust -llttng-ust-common -ldl`, following this man page. DESCRIPTION @@ -636,7 +636,7 @@ library containing it) and with `liblttng-ust` and `libdl` [role="term"] ---- -$ cc -o app tp.o app.o -llttng-ust -ldl +$ cc -o app tp.o app.o -llttng-ust -llttng-ust-common -ldl ---- @@ -686,7 +686,7 @@ It is then linked as a shared library like this: [role="term"] ---- -$ cc -shared -Wl,--no-as-needed -o tp.so tp.o -llttng-ust +$ cc -shared -Wl,--no-as-needed -o tp.so tp.o -llttng-ust -llttng-ust-common ---- This tracepoint provider shared object isn't linked with the user @@ -1120,7 +1120,7 @@ like this: ---- $ cc -c -I. tp.c $ cc -c app.c -$ cc -o app tp.o app.o -llttng-ust -ldl +$ cc -o app tp.o app.o -llttng-ust -llttng-ust-common -ldl ---- Using the man:lttng(1) tool, create an LTTng tracing session, enable