include: implement REUSE with SPDX identifiers
[lttng-ust.git] / include / lttng / tp / lttng-ust-tracef.h
index 95fb60db91cd769ff9769252b265b8474bca2954..90731a52f4992cc8290e9712aa29f79caa8cc0e2 100644 (file)
@@ -1,17 +1,15 @@
-/*
- * 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,
+LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_tracef, event,
        LTTNG_UST_TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
-       TP_FIELDS(
-               ctf_sequence_text(char, msg, msg, unsigned int, len)
-               ctf_unused(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)
This page took 0.023871 seconds and 4 git commands to generate.