summaryrefslogtreecommitdiff
path: root/sysutils/lttng-ust/files/patch-doc_man_lttng-ust.3.txt
blob: 2b86bdf93c4c92109aa8469a04f57cb0e1d86cbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- doc/man/lttng-ust.3.txt.orig	2016-11-29 21:06:58 UTC
+++ 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`, following this man page.
 
 
 DESCRIPTION
@@ -636,7 +636,7 @@ library containing it) and with `liblttn
 
 [role="term"]
 -------------------------------------
-cc -o app tp.o app.o -llttng-ust -ldl
+cc -o app tp.o app.o -llttng-ust
 -------------------------------------
 
 
@@ -696,7 +696,7 @@ libdl:
 
 [role="term"]
 --------------------------------
-cc -o app app.o tp-define.o -ldl
+cc -o app app.o tp-define.o
 --------------------------------
 
 There are two ways to dynamically load the tracepoint provider shared
@@ -1036,7 +1036,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
 -------------------------------------
 
 Using the man:lttng(1) tool, create an LTTng tracing session, enable