Commit | Line | Data |
---|---|---|
4ddbd0b7 PP |
1 | tracef(3) |
2 | ========= | |
3 | :object-type: macro | |
4 | ||
5 | ||
6 | NAME | |
7 | ---- | |
cfd56ee1 | 8 | tracef, vtracef - LTTng-UST printf(3)-like interface |
4ddbd0b7 PP |
9 | |
10 | ||
11 | SYNOPSIS | |
12 | -------- | |
13 | [verse] | |
14 | *#include <lttng/tracef.h>* | |
15 | ||
16 | [verse] | |
17 | #define *tracef*('fmt', ...) | |
d6208c2d | 18 | #define *vtracef*('fmt', 'ap') |
4ddbd0b7 | 19 | |
e436e84d | 20 | Link with `-llttng-ust -llttng-ust-common`. |
4ddbd0b7 PP |
21 | |
22 | ||
23 | DESCRIPTION | |
24 | ----------- | |
5b1163c6 PP |
25 | The `tracef()` and `vtracef()` macros are part of version{nbsp}0 of the |
26 | LTTng-UST API (see the ``Compatibility with previous APIs'' section of | |
27 | man:lttng-ust(3)). | |
4ddbd0b7 | 28 | |
5b1163c6 PP |
29 | Prefer using man:lttng_ust_tracef(3) and man:lttng_ust_vtracef(3) which |
30 | are part of version{nbsp}1 of the API and have the `lttng_ust_` | |
31 | namespace. | |
4ddbd0b7 PP |
32 | |
33 | include::common-footer.txt[] | |
34 | ||
35 | include::common-copyrights.txt[] | |
36 | ||
37 | include::common-authors.txt[] | |
38 | ||
39 | ||
40 | SEE ALSO | |
41 | -------- | |
5b1163c6 PP |
42 | man:lttng_ust_tracef(3), |
43 | man:lttng_ust_vtracef(3) |