tracef - Man Page

LTTng-UST printf(3)-like interface

Synopsis

#include <lttng/tracef​.h>
#define tracef(fmt, ​...)

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

Description

The tracef() 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_tracef(3) which is part of version ​1 of the API and has the lttng_ust_ namespace​.

Bugs

If you encounter any issue or usability problem, please report it on the LTTng bug tracker <https://bugs.lttng.org/projects/lttng-ust>​.

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 <https://github.com/lttng/lttng-ust/blob/v2.16/COPYING> file 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_tracef(3), lttng_ust_vtracef(3)

Info

08/27/2026 LTTng 2.16.0 LTTng Manual