2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2013-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9 #include "common/macros.h"
11 /* The tracepoint definition is public, but the provider definition is hidden. */
12 #define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION
14 #define LTTNG_UST_TRACEPOINT_CREATE_PROBES
15 #define LTTNG_UST_TRACEPOINT_DEFINE
16 #include "lttng-ust-tracef-provider.h"
19 void lttng_ust___vtracef(const char *fmt
, va_list ap
)
20 __attribute__((always_inline
, format(printf
, 1, 0)));
22 void lttng_ust___vtracef(const char *fmt
, va_list ap
)
25 const int len
= vasprintf(&msg
, fmt
, ap
);
27 /* len does not include the final \0 */
30 lttng_ust_tracepoint_cb_lttng_ust_tracef___event(msg
, len
,
31 LTTNG_UST_CALLER_IP());
37 void lttng_ust__vtracef(const char *fmt
, va_list ap
)
38 __attribute__((format(printf
, 1, 0)));
39 void lttng_ust__vtracef(const char *fmt
, va_list ap
)
41 lttng_ust___vtracef(fmt
, ap
);
44 void lttng_ust__tracef(const char *fmt
, ...)
45 __attribute__((format(printf
, 1, 2)));
46 void lttng_ust__tracef(const char *fmt
, ...)
51 lttng_ust___vtracef(fmt
, ap
);
This page took 0.054618 seconds and 4 git commands to generate.