summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d8e3829)
Change-Id: I82de93db32dd35b044810801ceab9dd2816d7fbd
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#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 -llttng-ust-common -ldl`, following this man page.
-$ cc -o app tp.o app.o -llttng-ust -ldl
+$ cc -o app tp.o app.o -llttng-ust -llttng-ust-common -ldl
-$ 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
----
$ 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 -llttng-ust-common -ldl
----
Using the man:lttng(1) tool, create an LTTng tracing session, enable
----
Using the man:lttng(1) tool, create an LTTng tracing session, enable
#define *tracef*('fmt', ...)
#define *vtracef*('fmt', 'ap')
#define *tracef*('fmt', ...)
#define *vtracef*('fmt', 'ap')
-Link with `-llttng-ust`.
+Link with `-llttng-ust -llttng-ust-common`.
-$ 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,
----
You can create an LTTng tracing session, enable the `tracef()` events,
#define *tracelog*('level', 'fmt', ...)
#define *vtracelog*('level', 'fmt', 'ap')
#define *tracelog*('level', 'fmt', ...)
#define *vtracelog*('level', 'fmt', 'ap')
-Link with `-llttng-ust`.
+Link with `-llttng-ust -llttng-ust-common`.
-$ 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()`
----
You can create an LTTng tracing session, enable all the `tracelog()`