Tracepoint API namespacing ctf_string
[lttng-ust.git] / doc / examples / gen-tp / sample_tracepoint.tp
index c528c35ade11ae88d7d41ff85dc3ed93beef0ee4..47462415c9ec8cb61c705547c0e0e605f9b5d677 100644 (file)
@@ -3,13 +3,13 @@ LTTNG_UST_TRACEPOINT_EVENT(
        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)
                  )
 )
 /*
  * Longer comments
  */
-TRACEPOINT_LOGLEVEL(
+LTTNG_UST_TRACEPOINT_LOGLEVEL(
        sample_tracepoint,
        message,
-       TRACE_WARNING)
+       LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING)
This page took 0.024844 seconds and 4 git commands to generate.