* Enumeration field is used twice to make sure the type declaration
* is entered only once in the metadata file.
*/
-TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
LTTNG_UST_TP_ARGS(int, anint, int, enumval, int, enumval2),
- TP_FIELDS(
+ LTTNG_UST_TP_FIELDS(
ctf_integer(int, intfield, anint)
ctf_enum(ust_tests_ctf_types, testenum, int, enumfield, enumval)
ctf_enum(ust_tests_ctf_types, testenum, long long,
* Another tracepoint using the types to make sure each type is entered
* only once in the metadata file.
*/
-TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
LTTNG_UST_TP_ARGS(int, anint, int, enumval),
- TP_FIELDS(
+ LTTNG_UST_TP_FIELDS(
ctf_integer(int, intfield, anint)
ctf_enum(ust_tests_ctf_types, testenum, unsigned char,
enumfield, enumval)