X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fgen-tp%2Fsample_tracepoint.tp;h=62489262468085d35b07a90331a41e8aa16b93e2;hb=612e9ce4e5cc3a1292522a563789f6aab6c421b1;hp=a5e48d58a7eeffcbc428dc76ae4a97dc9c000836;hpb=cadfcbfcd89795086bfeb49af84dadc35154c754;p=lttng-ust.git diff --git a/doc/examples/gen-tp/sample_tracepoint.tp b/doc/examples/gen-tp/sample_tracepoint.tp index a5e48d58..62489262 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 LTTNG_UST_TP_ARGS(const char *, text), - TP_FIELDS( + LTTNG_UST_TP_FIELDS( ctf_string(message, text) ) ) /* * Longer comments */ -TRACEPOINT_LOGLEVEL( +LTTNG_UST_TRACEPOINT_LOGLEVEL( sample_tracepoint, message, - TRACE_WARNING) + LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING)