doc: add -llttng-ust-common to linking cmd in manpages
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 27 Apr 2021 15:12:20 +0000 (11:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 7 Jun 2021 19:30:53 +0000 (15:30 -0400)
Change-Id: I82de93db32dd35b044810801ceab9dd2816d7fbd
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/man/lttng-ust.3.txt
doc/man/tracef.3.txt
doc/man/tracelog.3.txt

index ab3c47754b5d78fdeb5a871dbc65de4f7a2db527..aa157019df41dd474fdeef02ed1984a9b79b6ae3 100644 (file)
@@ -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
index cdd23aec49f8f8d1f345a66738da4cd6c74f6b42..21456add358213d6104493841d3c17844e28f7be 100644 (file)
@@ -17,7 +17,7 @@ SYNOPSIS
 #define *tracef*('fmt', ...)
 #define *vtracef*('fmt', 'ap')
 
-Link with `-llttng-ust`.
+Link with `-llttng-ust -llttng-ust-common`.
 
 
 DESCRIPTION
@@ -80,7 +80,7 @@ like this:
 
 [role="term"]
 ----
-$ cc -o app app.c -llttng-ust
+$ cc -o app app.c -llttng-ust -llttng-ust-common
 ----
 
 You can create an LTTng tracing session, enable the `tracef()` events,
index 544d027a43888f2d20a7e41b0ce262d69fada9c6..1f97a0bdd68b092c4bfa7d93df49b7b1681b91c1 100644 (file)
@@ -17,7 +17,7 @@ SYNOPSIS
 #define *tracelog*('level', 'fmt', ...)
 #define *vtracelog*('level', 'fmt', 'ap')
 
-Link with `-llttng-ust`.
+Link with `-llttng-ust -llttng-ust-common`.
 
 
 DESCRIPTION
@@ -115,7 +115,7 @@ like this:
 
 [role="term"]
 ----
-$ cc -o app app.c -llttng-ust
+$ cc -o app app.c -llttng-ust -llttng-ust-common
 ----
 
 You can create an LTTng tracing session, enable all the `tracelog()`
This page took 0.026873 seconds and 4 git commands to generate.