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