This table describes possible entries for the `TP_fast_assign()` part
of `LTTNG_TRACEPOINT_EVENT()`:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
This table describes possible entries for the `TP_STRUCT__entry()` part
of `LTTNG_TRACEPOINT_EVENT()`:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
The above macros should cover the majority of cases. For advanced items,
see `probes/lttng-events.h`.
The available macros to define tracepoint fields, which should be listed
within `TP_FIELDS()` in `TRACEPOINT_EVENT()`, are:
-
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
The `_nowrite` versions omit themselves from the session trace, but are
otherwise identical. This means the `_nowrite` fields won't be written
The following table shows the available log level values for the
`TRACEPOINT_LOGLEVEL()` macro:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
Higher log level numbers imply the most verbosity (expect higher tracing
throughput). Log levels 0 through 6 and log level 14 match
information is left out. This version registers the following
tracepoints:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
Assuming no event is lost, having only the function addresses on entry
is enough for creating a call graph (remember that a recorded event
able to reconstruct the program flow. This version registers the
following tracepoints:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
To use one or the other variant with any user application, assuming at
least one translation unit of the latter is compiled with the
The helper's shared object, `liblttng-ust-dl.so`, registers the
following tracepoints when preloaded:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
To use this LTTng-UST helper with any user application, independently of
how the latter is built, do:
The following functions are traceable by `liblttng-ust-libc-wrapper.so`:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
The following functions are traceable by
`liblttng-ust-pthread-wrapper.so`:
+<div class="table">
<table class="func-desc">
<thead>
<tr>
</tr>
</tbody>
</table>
+</div>
All tracepoints have fields corresponding to the arguments of the
function they instrument.