Cleanup: apply `include-what-you-use` guideline for `size_t`
[lttng-ust.git] / tests / hello / ust_tests_hello.h
index ec5c00cd378b9773421738d2a10012aa6365f57b..a140ca83039a6448a83a5334bbd62ccf36960d5e 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <lttng/tracepoint.h>
 #include <stdbool.h>
+#include <stddef.h>
 
 TRACEPOINT_EVENT(ust_tests_hello, tptest,
        TP_ARGS(int, anint, int, netint, long *, values,
@@ -40,6 +41,8 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest,
                ctf_integer(long, longfield, anint)
                ctf_integer_network(int, netintfield, netint)
                ctf_integer_network_hex(int, netintfieldhex, netint)
+               ctf_array_nowrite(long, arrfield1z, values, 3)
+               ctf_array(long, blah, values, 3)
                ctf_array(long, arrfield1, values, 3)
                ctf_array_hex(long, arrfield1_hex, values, 3)
                ctf_array_network(long, arrfield1_network, values, 3)
@@ -47,6 +50,8 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest,
                ctf_array_text(char, arrfield2, text, 10)
                ctf_sequence(char, seqfield1, text,
                             size_t, textlen)
+               ctf_sequence_nowrite(char, seqfield1z, text,
+                            size_t, textlen)
                ctf_sequence_hex(char, seqfield1_hex, text,
                             size_t, textlen)
                ctf_sequence_text(char, seqfield2, text,
This page took 0.02323 seconds and 4 git commands to generate.