X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Feasy-ust%2Fsample_component_provider.h;h=9aa85f5282d93454f7048dc71bcb381f4ac5b62c;hb=cadfcbfcd89795086bfeb49af84dadc35154c754;hp=d457664d8aa1fa9c9daf3750a816a7027b003612;hpb=cbc06a3bd9abe653eaf278cdf4be8bf28dcca267;p=lttng-ust.git diff --git a/doc/examples/easy-ust/sample_component_provider.h b/doc/examples/easy-ust/sample_component_provider.h index d457664d..9aa85f52 100644 --- a/doc/examples/easy-ust/sample_component_provider.h +++ b/doc/examples/easy-ust/sample_component_provider.h @@ -65,16 +65,16 @@ TRACEPOINT_EVENT( */ message, /* - * TP_ARGS macro contains the arguments passed for the tracepoint + * LTTNG_UST_TP_ARGS macro contains the arguments passed for the tracepoint * it is in the following format - * TP_ARGS( type1, name1, type2, name2, ... type10, name10) + * LTTNG_UST_TP_ARGS( type1, name1, type2, name2, ... type10, name10) * where there can be from zero to ten elements. * typeN is the datatype, such as int, struct or double **. * name is the variable name (in "int myInt" the name would be myint) - * TP_ARGS() is valid to mean no arguments - * TP_ARGS( void ) is valid too + * LTTNG_UST_TP_ARGS() is valid to mean no arguments + * LTTNG_UST_TP_ARGS( void ) is valid too */ - TP_ARGS(const char *, text), + LTTNG_UST_TP_ARGS(const char *, text), /* * TP_FIELDS describes how to write the fields of the trace event. * You can use the args here