Tracepoint API namespacing 'TRACEPOINT_ENUM'
[lttng-ust.git] / tests / compile / ctf-types / ust_tests_ctf_types.h
index 4ce4d984ae524a7febe5d77a4342482a6b7831b8..0277e68b0de1b13de5480f924501409f98eeb0a5 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <lttng/tracepoint.h>
 
-TRACEPOINT_ENUM(ust_tests_ctf_types, testenum,
+LTTNG_UST_TRACEPOINT_ENUM(ust_tests_ctf_types, testenum,
        TP_ENUM_VALUES(
                ctf_enum_value("even", 0)
                ctf_enum_value("uneven", 1)
@@ -21,7 +21,7 @@ TRACEPOINT_ENUM(ust_tests_ctf_types, testenum,
        )
 )
 
-TRACEPOINT_ENUM(ust_tests_ctf_types, testenum2,
+LTTNG_UST_TRACEPOINT_ENUM(ust_tests_ctf_types, testenum2,
        TP_ENUM_VALUES(
                ctf_enum_value("zero", 0)
                ctf_enum_value("five", 5)
@@ -33,9 +33,9 @@ TRACEPOINT_ENUM(ust_tests_ctf_types, testenum2,
  * 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,
-       TP_ARGS(int, anint, int, enumval, int, enumval2),
-       TP_FIELDS(
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
+       LTTNG_UST_TP_ARGS(int, anint, int, enumval, int, enumval2),
+       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,
@@ -49,9 +49,9 @@ TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
  * 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,
-       TP_ARGS(int, anint, int, enumval),
-       TP_FIELDS(
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
+       LTTNG_UST_TP_ARGS(int, anint, int, enumval),
+       LTTNG_UST_TP_FIELDS(
                ctf_integer(int, intfield, anint)
                ctf_enum(ust_tests_ctf_types, testenum, unsigned char,
                        enumfield, enumval)
This page took 0.028664 seconds and 4 git commands to generate.