test "hello": add boolean test
[lttng-ust.git] / tests / hello / ust_tests_hello.h
index 8a4063f60b929ffbc0a3e0f613f4b95afd36a9d2..b06dea00138dc5b62619814741c56b85d3b9890e 100644 (file)
@@ -23,11 +23,13 @@ extern "C" {
  */
 
 #include <lttng/tracepoint.h>
+#include <stdbool.h>
 
 TRACEPOINT_EVENT(ust_tests_hello, tptest,
        TP_ARGS(int, anint, int, netint, long *, values,
-                char *, text, size_t, textlen,
-                double, doublearg, float, floatarg),
+               char *, text, size_t, textlen,
+               double, doublearg, float, floatarg,
+               bool, boolarg),
        TP_FIELDS(
                ctf_integer(int, intfield, anint)
                ctf_integer_hex(int, intfield2, anint)
@@ -43,6 +45,7 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest,
                ctf_string(stringfield, text)
                ctf_float(float, floatfield, floatarg)
                ctf_float(double, doublefield, doublearg)
+               ctf_integer(bool, boolfield, boolarg)
        )
 )
 
This page took 0.023803 seconds and 5 git commands to generate.