TRACEPOINT_EVENT: add *_nowrite fields for filter
[lttng-ust.git] / tests / hello / ust_tests_hello.h
index 8a4063f60b929ffbc0a3e0f613f4b95afd36a9d2..8ac681c2917c05b145a21ecdb2dd3c8fdb27e441 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)
        )
 )
 
This page took 0.026569 seconds and 4 git commands to generate.