Tracepoint API change: combine TP_PROTO and TP_VARS into TP_ARGS, remove _NOARGS...
[lttng-ust.git] / tests / hello / ust_tests_hello.h
index 86e4ce7d2d84e6a74d5910f638d0484c07933b0b..353c2f11f512ac2ddc0c02069c01a964948ac2fb 100644 (file)
@@ -29,11 +29,9 @@ extern "C" {
 #include <lttng/tracepoint.h>
 
 TRACEPOINT_EVENT(ust_tests_hello, tptest,
-       TP_PROTO(int anint, int netint, long *values,
-                char *text, size_t textlen,
-                double doublearg, float floatarg),
-       TP_VARS(anint, netint, values, text, textlen,
-               doublearg, floatarg),
+       TP_ARGS(int, anint, int, netint, long *, values,
+                char *, text, size_t, textlen,
+                double, doublearg, float, floatarg),
        TP_FIELDS(
                ctf_integer(int, intfield, anint)
                ctf_integer_hex(int, intfield2, anint)
@@ -52,7 +50,8 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest,
        )
 )
 
-TRACEPOINT_EVENT_NOARGS(ust_tests_hello, tptest_sighandler,
+TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
+       TP_ARGS(),
        TP_FIELDS()
 )
 
This page took 0.026088 seconds and 4 git commands to generate.