X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fdemo%2Fust_tests_demo2.h;h=a7e9abea847f50c945267ff8ab43d0835b69a83e;hb=612e9ce4e5cc3a1292522a563789f6aab6c421b1;hp=7f3d878dd9ab94125a3fe9b8a97ec9bea00277f9;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/doc/examples/demo/ust_tests_demo2.h b/doc/examples/demo/ust_tests_demo2.h index 7f3d878d..a7e9abea 100644 --- a/doc/examples/demo/ust_tests_demo2.h +++ b/doc/examples/demo/ust_tests_demo2.h @@ -13,11 +13,11 @@ #include #include -TRACEPOINT_EVENT(ust_tests_demo2, loop, - TP_ARGS(int, anint, int, netint, long *, values, +LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo2, loop, + LTTNG_UST_TP_ARGS(int, anint, int, netint, long *, values, char *, text, size_t, textlen, double, doublearg, float, floatarg), - TP_FIELDS( + LTTNG_UST_TP_FIELDS( ctf_integer(int, intfield, anint) ctf_integer_hex(int, intfield2, anint) ctf_integer(long, longfield, anint) @@ -34,7 +34,7 @@ TRACEPOINT_EVENT(ust_tests_demo2, loop, ctf_float(double, doublefield, doublearg) ) ) -TRACEPOINT_LOGLEVEL(ust_tests_demo2, loop, TRACE_WARNING) +LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo2, loop, LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING) #endif /* _TRACEPOINT_UST_TESTS_DEMO2_H */