#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
[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
----
[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
----
$ 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
#define *tracef*('fmt', ...)
#define *vtracef*('fmt', 'ap')
-Link with `-llttng-ust`.
+Link with `-llttng-ust -llttng-ust-common`.
DESCRIPTION
[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,
#define *tracelog*('level', 'fmt', ...)
#define *vtracelog*('level', 'fmt', 'ap')
-Link with `-llttng-ust`.
+Link with `-llttng-ust -llttng-ust-common`.
DESCRIPTION
[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()`