X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftp%2Flttng-ust-tracelog.h;h=c3a48bb5a4b1f3f86210ef3c7b7b7851ba3f490f;hb=1c1968450409b3c159a3000f9e1a968ff1e5f7e8;hp=497b81aa8412746634a8de21460ce572b81e56d5;hpb=1698631bb3fbab41277b3953e193dd2fd4a74afa;p=lttng-ust.git diff --git a/include/lttng/tp/lttng-ust-tracelog.h b/include/lttng/tp/lttng-ust-tracelog.h index 497b81aa..c3a48bb5 100644 --- a/include/lttng/tp/lttng-ust-tracelog.h +++ b/include/lttng/tp/lttng-ust-tracelog.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2015 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2015 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #include #include @@ -11,16 +9,17 @@ LTTNG_UST_TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass, LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func, const char *, msg, unsigned int, len, void *, ip), LTTNG_UST_TP_FIELDS( - ctf_integer(int, line, line) - ctf_string(file, file) - ctf_string(func, func) - ctf_sequence_text(char, msg, msg, unsigned int, len) - ctf_unused(ip) + lttng_ust_field_integer(int, line, line) + lttng_ust_field_string(file, file) + lttng_ust_field_string(func, func) + lttng_ust_field_sequence_text(char, msg, msg, unsigned int, len) + lttng_ust_field_unused(ip) ) ) #define LTTNG_UST_TP_TRACELOG_TEMPLATE(_level_enum) \ - LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \ + LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, \ + lttng_ust_tracelog, _level_enum, \ LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func, \ const char *, msg, unsigned int, len, void *, ip) \ ) \