-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
+// SPDX-FileCopyrightText: 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: MIT
#include <lttng/tracepoint.h>
#include <stdarg.h>
-TRACEPOINT_EVENT(lttng_ust_tracef, event,
- TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
- TP_FIELDS(
- ctf_sequence_text(char, msg, msg, unsigned int, len)
+LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_tracef, event,
+ LTTNG_UST_TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
+ LTTNG_UST_TP_FIELDS(
+ lttng_ust_field_sequence_text(char, msg, msg, unsigned int, len)
+ lttng_ust_field_unused(ip)
)
)
-TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, TRACE_DEBUG)
+LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG)