X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng%2Ftp%2Flttng-ust-tracelog.h;h=c3a48bb5a4b1f3f86210ef3c7b7b7851ba3f490f;hb=1c1968450409b3c159a3000f9e1a968ff1e5f7e8;hp=6cae9a74c88a37d2cd579898336734268894885c;hpb=1d188af9688feee0ec4e34038113a0edccddd4ea;p=lttng-ust.git diff --git a/include/lttng/tp/lttng-ust-tracelog.h b/include/lttng/tp/lttng-ust-tracelog.h index 6cae9a74..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 @@ -12,15 +10,16 @@ LTTNG_UST_TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass, const char *, msg, unsigned int, len, void *, ip), LTTNG_UST_TP_FIELDS( lttng_ust_field_integer(int, line, line) - ctf_string(file, file) - ctf_string(func, func) + lttng_ust_field_string(file, file) + lttng_ust_field_string(func, func) lttng_ust_field_sequence_text(char, msg, msg, unsigned int, len) - ctf_unused(ip) + 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) \ ) \