| 1 | // SPDX-FileCopyrightText: 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 2 | // |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | |
| 5 | #include <lttng/tracepoint.h> |
| 6 | #include <stdarg.h> |
| 7 | |
| 8 | LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_tracef, event, |
| 9 | LTTNG_UST_TP_ARGS(const char *, msg, unsigned int, len, void *, ip), |
| 10 | LTTNG_UST_TP_FIELDS( |
| 11 | lttng_ust_field_sequence_text(char, msg, msg, unsigned int, len) |
| 12 | lttng_ust_field_unused(ip) |
| 13 | ) |
| 14 | ) |
| 15 | LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG) |