ports/sysutils/lttng-ust/files/patch-doc_man_lttng-ust.3.txt
Mahdi Mokhtari a8416c340c Adding sysutils/lttng-ust and sysutils/lttng-tools.
LTTng stands for Linux Trace Toolkit: next generation. It's a modern toolkit
for tracing Linux (And now FreeBSD, only userspace now) programs.

PR:		216142
Submitted by:	mmokhi
Reported by:	mmokhi
Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9200
2017-02-11 15:36:17 +00:00

38 lines
1.1 KiB
Text

--- 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