Cleanup: remove whitespaces and EOL in tests
[lttng-ust.git] / tests / hello / ust_tests_hello.h
index 8a4063f60b929ffbc0a3e0f613f4b95afd36a9d2..99b4a71394ba6bc4b709f2ac9225f22d8cd2bed4 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,8 @@ 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)
+               ctf_integer_nowrite(int, filterfield, anint)
        )
 )
 
@@ -59,6 +63,6 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
 
-#ifdef __cplusplus 
+#ifdef __cplusplus
 }
 #endif
This page took 0.024502 seconds and 4 git commands to generate.