Tracepoint API namespacing ctf_float
[lttng-ust.git] / doc / examples / demo / ust_tests_demo2.h
index 7bd3c9b6b72c9a94a19b65ac5eed728b98a7ad08..b3ab8febaf5ae34c2913e6d2e95b9dc15655308b 100644 (file)
@@ -30,8 +30,8 @@ LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo2, loop,
                ctf_sequence_text(char, seqfield2, text,
                             size_t, textlen)
                ctf_string(stringfield, text)
-               ctf_float(float, floatfield, floatarg)
-               ctf_float(double, doublefield, doublearg)
+               lttng_ust_field_float(float, floatfield, floatarg)
+               lttng_ust_field_float(double, doublefield, doublearg)
        )
 )
 LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo2, loop, LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING)
This page took 0.025504 seconds and 4 git commands to generate.