TRACELOG(3)
π TRACELOG(3) β LTTng Manual π
okay bestie, this is the TRACELOG(3) page from the LTTng Manual. It's giving "logging macro with a log level" and we're gonna keep every detail, fr fr. β¨
πΈ NAME πΈ
tracelog β LTTng-UST printf(3)-like interface with a log level.
β¨ SYNOPSIS β¨
#include <lttng/tracelog.h>
#define tracelog(level, fmt, ...)
Link with -llttng-ust -llttng-ust-common.
π¦ DESCRIPTION π¦
The tracelog() macro is part of version 0 of the LTTng-UST API (see the βCompatibility with previous APIsβ section of lttng-ust(3)).
Prefer using lttng_ust_tracelog(3) β it's part of version 1 of the API and has the lttng_ust_ namespace. periodt. π
π BUGS π
If you encounter any issue or usability problem, please report it on the LTTng bug tracker https://bugs.lttng.org/projects/lttng-ust. No gatekeeping, bestie. π«Ά
π RESOURCES π
- LTTng project website
http://lttng.org - LTTng documentation
http://lttng.org/docs - Git repositories
http://git.lttng.org - GitHub organization
http://github.com/lttng - Continuous integration
http://ci.lttng.org/ - Mailing list
http://lists.lttng.orgfor support and development:lttng-dev@lists.lttng.org - IRC channel
irc://irc.oftc.net/lttng:#lttngonirc.oftc.net
π COPYRIGHTS π
This macro is part of the LTTng-UST project.
This macro is distributed under the GNU Lesser General Public License, version 2.1 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html. See the COPYING file https://github.com/lttng/lttng-ust/blob/v2.16/COPYING for more details.
π«Ά THANKS π«Ά
Thanks to Ericsson for funding this work, providing real-life use cases, and testing. π
Special thanks to Michel Dagenais and the DORSAL laboratory http://www.dorsal.polymtl.ca/ at Γcole Polytechnique de MontrΓ©al for the LTTng journey. πΈ
π§ AUTHORS π§
LTTng-UST was originally written by Mathieu Desnoyers, with additional contributions from various other people. It is currently maintained by Mathieu Desnoyers <mailto:mathieu.desnoyers@efficios.com>. π
β SEE ALSO β
lttng_ust_tracelog(3), lttng_ust_vtracelog(3)
LTTng 2.16.0 Β· 08/31/2026 β that's the source/version and date, bestie. byeee π«Άπ
π¦ where this page comes from
- arch rolling: lttng-ust 2.16.0-1 Β· LGPL-2.1-only AND MIT AND GPL-2.0-only AND BSD-3-Clause AND BSD-2-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms