2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2013-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9 #include "common/macros.h"
11 #define LTTNG_UST_TRACEPOINT_CREATE_PROBES
12 #define LTTNG_UST_TRACEPOINT_DEFINE
13 #include "lttng-ust-tracef-provider.h"
16 void lttng_ust___vtracef(const char *fmt
, va_list ap
)
17 __attribute__((always_inline
, format(printf
, 1, 0)));
19 void lttng_ust___vtracef(const char *fmt
, va_list ap
)
22 const int len
= vasprintf(&msg
, fmt
, ap
);
24 /* len does not include the final \0 */
27 lttng_ust_tracepoint_cb_lttng_ust_tracef___event(msg
, len
,
28 LTTNG_UST_CALLER_IP());
34 void lttng_ust__vtracef(const char *fmt
, va_list ap
)
35 __attribute__((format(printf
, 1, 0)));
36 void lttng_ust__vtracef(const char *fmt
, va_list ap
)
38 lttng_ust___vtracef(fmt
, ap
);
41 void lttng_ust__tracef(const char *fmt
, ...)
42 __attribute__((format(printf
, 1, 2)));
43 void lttng_ust__tracef(const char *fmt
, ...)
48 lttng_ust___vtracef(fmt
, ap
);
This page took 0.036086 seconds and 5 git commands to generate.