2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2013-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #ifndef _LTTNG_UST_TRACEF_H
8 #define _LTTNG_UST_TRACEF_H
10 #include <lttng/tp/lttng-ust-tracef.h>
17 void _lttng_ust_tracef(const char *fmt
, ...);
20 void _lttng_ust_vtracef(const char *fmt
, va_list ap
);
22 #define tracef(fmt, ...) \
24 LTTNG_STAP_PROBEV(tracepoint_lttng_ust_tracef, event, ## __VA_ARGS__); \
25 if (caa_unlikely(__tracepoint_lttng_ust_tracef___event.state)) \
26 _lttng_ust_tracef(fmt, ## __VA_ARGS__); \
29 #define vtracef(fmt, ap) \
31 if (caa_unlikely(__tracepoint_lttng_ust_tracef___event.state)) \
32 _lttng_ust_vtracef(fmt, ap); \
38 #endif /* _LTTNG_UST_TRACEF_H */
This page took 0.093851 seconds and 4 git commands to generate.