projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: add -llttng-ust-common to linking cmd in manpages
[lttng-ust.git]
/
doc
/
man
/
lttng-ust.3.txt
diff --git
a/doc/man/lttng-ust.3.txt
b/doc/man/lttng-ust.3.txt
index ab3c47754b5d78fdeb5a871dbc65de4f7a2db527..aa157019df41dd474fdeef02ed1984a9b79b6ae3 100644
(file)
--- 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')
#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 -l
lttng-ust-common -l
dl`, following this man page.
DESCRIPTION
DESCRIPTION
@@
-636,7
+636,7
@@
library containing it) and with `liblttng-ust` and `libdl`
[role="term"]
----
[role="term"]
----
-$ cc -o app tp.o app.o -llttng-ust -ldl
+$ cc -o app tp.o app.o -llttng-ust -l
lttng-ust-common -l
dl
----
----
@@
-686,7
+686,7
@@
It is then linked as a shared library like this:
[role="term"]
----
[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
----
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 -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 -l
lttng-ust-common -l
dl
----
Using the man:lttng(1) tool, create an LTTng tracing session, enable
----
Using the man:lttng(1) tool, create an LTTng tracing session, enable
This page took
0.023491 seconds
and
4
git commands to generate.