fix: string constants (-Wwrite-strings)
[lttng-ust.git] / doc / examples / gen-tp / sample_tracepoint.tp
index fa7d18a5080a0ca72c5bb8d9927915dd597daefd..22f7713f972a7c1d7ca7dc4f04ef8e7ee8aae523 100644 (file)
@@ -1,7 +1,7 @@
 TRACEPOINT_EVENT(
        sample_tracepoint,
        message, // C++ Style comment
-       TP_ARGS(char *, text),
+       TP_ARGS(const char *, text),
        TP_FIELDS(
                ctf_string(message, text)
                  )
This page took 0.024008 seconds and 4 git commands to generate.