2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2013-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9 #include <ust-helper.h>
11 #define TRACEPOINT_CREATE_PROBES
12 #define TRACEPOINT_DEFINE
13 #include "lttng-ust-tracef-provider.h"
15 static inline __attribute__((always_inline
))
16 void __lttng_ust_vtracef(const char *fmt
, va_list ap
)
19 const int len
= vasprintf(&msg
, fmt
, ap
);
21 /* len does not include the final \0 */
24 __tracepoint_cb_lttng_ust_tracef___event(msg
, len
,
25 LTTNG_UST_CALLER_IP());
31 void _lttng_ust_vtracef(const char *fmt
, va_list ap
)
33 __lttng_ust_vtracef(fmt
, ap
);
36 void _lttng_ust_tracef(const char *fmt
, ...)
41 __lttng_ust_vtracef(fmt
, ap
);
This page took 0.030269 seconds and 4 git commands to generate.