test: add array test
[deliverable/lttng-ust.git] / tests / hello / ust_tests_hello.h
index a4e32964e031a45cafcdaa3dfa3235e24423f2fe..6d19ab6eb6de3dcc832c53ebeced68360894baaa 100644 (file)
 #include <ust/tracepoint.h>
 
 TRACEPOINT_EVENT(ust_tests_hello_tptest,
-                       TP_PROTO(int anint),
-                       TP_ARGS(anint),
+                       TP_PROTO(int anint, long *values),
+                       TP_ARGS(anint, values),
                        TP_FIELDS(
                                ctf_integer(int, intfield, anint)
                                ctf_integer_hex(int, intfield2, anint)
                                ctf_integer_network(int, intfield3, anint)
                                ctf_integer_network_hex(int, intfield4, anint)
+                               ctf_array(long, arrfield1, values, 3)
                        ))
 
 TRACEPOINT_EVENT_NOARGS(ust_tests_hello_tptest_sighandler,
This page took 0.025724 seconds and 5 git commands to generate.