Build TRACEPOINT_EVENT integer type
[lttng-ust.git] / tests / hello / tp.h
index 606f0f1392eaf9bd0cb4ab92fe80495b7be778e3..7fa16e904c835ac5145d4e8d4aed459e7786bb6a 100644 (file)
 #include <ust/tracepoint.h>
 
 TRACEPOINT_EVENT(ust_tests_hello_tptest,
-                TP_PROTO(int anint),
-                TP_ARGS(anint),
-                TP_FIELDS())
+                       TP_PROTO(int anint),
+                       TP_ARGS(anint),
+                       TP_FIELDS(
+                               ctf_integer(int, intfield, anint)
+                       ))
 
 TRACEPOINT_EVENT_NOARGS(ust_tests_hello_tptest_sighandler,
                        TP_FIELDS())
This page took 0.023791 seconds and 4 git commands to generate.