X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fgen-tp%2Fsample_tracepoint.tp;h=2f548f6cef30c49abe3cb86889cc8fc3661d2064;hb=53f7d0d7404de911dd62dff06f08539e33ea7519;hp=62489262468085d35b07a90331a41e8aa16b93e2;hpb=612e9ce4e5cc3a1292522a563789f6aab6c421b1;p=lttng-ust.git diff --git a/doc/examples/gen-tp/sample_tracepoint.tp b/doc/examples/gen-tp/sample_tracepoint.tp index 62489262..2f548f6c 100644 --- a/doc/examples/gen-tp/sample_tracepoint.tp +++ b/doc/examples/gen-tp/sample_tracepoint.tp @@ -1,9 +1,14 @@ +// SPDX-FileCopyrightText: 2011-2012 Matthew Khouzam +// SPDX-FileCopyrightText: 2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT + LTTNG_UST_TRACEPOINT_EVENT( sample_tracepoint, message, // C++ Style comment LTTNG_UST_TP_ARGS(const char *, text), LTTNG_UST_TP_FIELDS( - ctf_string(message, text) + lttng_ust_field_string(message, text) ) ) /*