1TRACELOG(3) LTTng Manual TRACELOG(3)
2
3
4
6 tracelog - LTTng-UST printf(3)-like interface with a log level
7
9 #include <lttng/tracelog.h>
10
11 #define tracelog(level, fmt, ...)
12
13 Link with -llttng-ust -llttng-ust-common.
14
16 The tracelog() macro is part of version 0 of the LTTng-UST API (see the
17 “Compatibility with previous APIs” section of lttng-ust(3)).
18
19 Prefer using lttng_ust_tracelog(3) which is part of version 1 of the
20 API and has the lttng_ust_ namespace.
21
23 If you encounter any issue or usability problem, please report it on
24 the LTTng bug tracker <https://bugs.lttng.org/projects/lttng-ust>.
25
27 • LTTng project website <http://lttng.org>
28
29 • LTTng documentation <http://lttng.org/docs>
30
31 • Git repositories <http://git.lttng.org>
32
33 • GitHub organization <http://github.com/lttng>
34
35 • Continuous integration <http://ci.lttng.org/>
36
37 • Mailing list <http://lists.lttng.org> for support and development:
38 lttng-dev@lists.lttng.org
39
40 • IRC channel <irc://irc.oftc.net/lttng>: #lttng on irc.oftc.net
41
43 This macro is part of the LTTng-UST project.
44
45 This macro is distributed under the GNU Lesser General Public License,
46 version 2.1 <http://www.gnu.org/licenses/old-
47 licenses/lgpl-2.1.en.html>. See the for more details.
48
50 Thanks to Ericsson for funding this work, providing real-life use
51 cases, and testing.
52
53 Special thanks to Michel Dagenais and the DORSAL laboratory
54 <http://www.dorsal.polymtl.ca/> at École Polytechnique de Montréal for
55 the LTTng journey.
56
58 LTTng-UST was originally written by Mathieu Desnoyers, with additional
59 contributions from various other people. It is currently maintained by
60 Mathieu Desnoyers <mailto:mathieu.desnoyers@efficios.com>.
61
63 lttng_ust_tracelog(3), lttng_ust_vtracelog(3)
64
65
66
67LTTng 2.13.1 12/10/2021 TRACELOG(3)