TRACEF(3)

TRACEF(3) πŸ’… β€” the LTTng Manual page, bestie

🌸 NAME 🌸

Okay so tracef is the LTTng-UST printf(3)-like interface. It’s giving β€œI log, therefore I am,” but make it tracing. πŸ’–

✨ SYNOPSIS ✨

#include <lttng/tracef.h>

#define tracef(fmt, ...)

Link with -llttng-ust -llttng-ust-common.

Bestie, that link line is literally -llttng-ust -llttng-ust-common β€” both of them, no cap. 🫢

πŸ’« DESCRIPTION πŸ’«

The tracef() macro is part of version 0 of the LTTng-UST API. Peep the β€œCompatibility with previous APIs” section of lttng-ust(3) for the lore. ✨

But lowkey, prefer using lttng_ust_tracef(3) β€” that one is part of version 1 of the API and has the lttng_ust_ namespace. It’s the upgrade, 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>. Don’t suffer in silence, bestie. 😭

🌈 RESOURCES 🌈

πŸ“œ 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 for more details: <https://github.com/lttng/lttng-ust/blob/v2.16/COPYING>.

🫢 THANKS 🫢

Thanks to Ericsson for funding this work, providing real-life use cases, and testing. That’s iconic. ✨

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>. Periodt. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

lttng_ust_tracef(3), lttng_ust_vtracef(3) β€” go read those next, bestie. 🌸


Mwah πŸ’‹ this page is from LTTng 2.16.0, dated 08/31/2026.

πŸ“¦ 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