X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fgen-tp%2Fsample_tracepoint.tp;h=47462415c9ec8cb61c705547c0e0e605f9b5d677;hb=3202f63a4d5e599bf22d6711828614b58c7efcba;hp=22f7713f972a7c1d7ca7dc4f04ef8e7ee8aae523;hpb=74c3f8e27f5b750b71136ce1737972c28f288540;p=lttng-ust.git diff --git a/doc/examples/gen-tp/sample_tracepoint.tp b/doc/examples/gen-tp/sample_tracepoint.tp index 22f7713f..47462415 100644 --- a/doc/examples/gen-tp/sample_tracepoint.tp +++ b/doc/examples/gen-tp/sample_tracepoint.tp @@ -1,15 +1,15 @@ -TRACEPOINT_EVENT( +LTTNG_UST_TRACEPOINT_EVENT( sample_tracepoint, message, // C++ Style comment - TP_ARGS(const char *, text), - TP_FIELDS( - ctf_string(message, text) + LTTNG_UST_TP_ARGS(const char *, text), + LTTNG_UST_TP_FIELDS( + lttng_ust_field_string(message, text) ) ) /* * Longer comments */ -TRACEPOINT_LOGLEVEL( +LTTNG_UST_TRACEPOINT_LOGLEVEL( sample_tracepoint, message, - TRACE_WARNING) + LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING)