fix: string constants (-Wwrite-strings)
[lttng-ust.git] / doc / examples / easy-ust / sample_component_provider.h
index edfac8f58706bcaa665d25a474ef3234cb516e6e..d457664d8aa1fa9c9daf3750a816a7027b003612 100644 (file)
@@ -74,7 +74,7 @@ TRACEPOINT_EVENT(
         *              TP_ARGS() is valid to mean no arguments
         *              TP_ARGS( void ) is valid too
         */
-       TP_ARGS(char *, text),
+       TP_ARGS(const char *, text),
        /*
         * TP_FIELDS describes how to write the fields of the trace event.
         * You can use the args here
This page took 0.022925 seconds and 4 git commands to generate.