X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fhello-static-lib%2Fust_tests_hello.h;h=2e17be17ee27b9ea7853e72f9e57f9e630ed4b20;hb=3202f63a4d5e599bf22d6711828614b58c7efcba;hp=08afecff1c012140fffe113bd772e346e3c392fc;hpb=1d188af9688feee0ec4e34038113a0edccddd4ea;p=lttng-ust.git diff --git a/doc/examples/hello-static-lib/ust_tests_hello.h b/doc/examples/hello-static-lib/ust_tests_hello.h index 08afecff..2e17be17 100644 --- a/doc/examples/hello-static-lib/ust_tests_hello.h +++ b/doc/examples/hello-static-lib/ust_tests_hello.h @@ -29,7 +29,7 @@ LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello, tptest, size_t, textlen) lttng_ust_field_sequence_text(char, seqfield2, text, size_t, textlen) - ctf_string(stringfield, text) + lttng_ust_field_string(stringfield, text) lttng_ust_field_float(float, floatfield, floatarg) lttng_ust_field_float(double, doublefield, doublearg) )