X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Ftp%2Flttng-ust-tracef.h;h=90731a52f4992cc8290e9712aa29f79caa8cc0e2;hb=1c1968450409b3c159a3000f9e1a968ff1e5f7e8;hp=4feeb6940712ad5d2b97023fc11a4d1b2bf19c83;hpb=5152f6df156d6ccb234965d1b3d26b167bd6b94e;p=lttng-ust.git diff --git a/include/lttng/tp/lttng-ust-tracef.h b/include/lttng/tp/lttng-ust-tracef.h index 4feeb694..90731a52 100644 --- a/include/lttng/tp/lttng-ust-tracef.h +++ b/include/lttng/tp/lttng-ust-tracef.h @@ -1,17 +1,15 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2014 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2014 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #include #include -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) - ctf_unused(ip) +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)