X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fhello-static-lib%2Fust_tests_hello.h;h=552e8d218e1910f6b979011d42d757d1bf845f61;hb=b4064f282fc27c80f17166b1439442d6ddd118b2;hp=fccbae2ad093a6d346d42bdca5d231630758fb68;hpb=bb71a8ea3b2e7335393a6810887fb9b145cc6f7e;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 fccbae2a..552e8d21 100644 --- a/doc/examples/hello-static-lib/ust_tests_hello.h +++ b/doc/examples/hello-static-lib/ust_tests_hello.h @@ -4,8 +4,8 @@ * Copyright (C) 2011 Mathieu Desnoyers */ -#undef TRACEPOINT_PROVIDER -#define TRACEPOINT_PROVIDER ust_tests_hello +#undef LTTNG_UST_TRACEPOINT_PROVIDER +#define LTTNG_UST_TRACEPOINT_PROVIDER ust_tests_hello #if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_UST_TESTS_HELLO_H @@ -18,11 +18,11 @@ LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello, tptest, char *, text, size_t, textlen, double, doublearg, float, floatarg), LTTNG_UST_TP_FIELDS( - ctf_integer(int, intfield, anint) - ctf_integer_hex(int, intfield2, anint) - ctf_integer(long, longfield, anint) - ctf_integer_network(int, netintfield, netint) - ctf_integer_network_hex(int, netintfieldhex, netint) + lttng_ust_field_integer(int, intfield, anint) + lttng_ust_field_integer_hex(int, intfield2, anint) + lttng_ust_field_integer(long, longfield, anint) + lttng_ust_field_integer_network(int, netintfield, netint) + lttng_ust_field_integer_network_hex(int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3) ctf_array_text(char, arrfield2, text, 10) ctf_sequence(char, seqfield1, text,