X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Feasy-ust%2Fsample_component_provider.h;h=d457664d8aa1fa9c9daf3750a816a7027b003612;hb=74c3f8e27f5b750b71136ce1737972c28f288540;hp=edfac8f58706bcaa665d25a474ef3234cb516e6e;hpb=4b4a133740c87d9a851023a7aeb06b78d887e51b;p=lttng-ust.git diff --git a/doc/examples/easy-ust/sample_component_provider.h b/doc/examples/easy-ust/sample_component_provider.h index edfac8f5..d457664d 100644 --- a/doc/examples/easy-ust/sample_component_provider.h +++ b/doc/examples/easy-ust/sample_component_provider.h @@ -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