X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=doc%2Fman%2Flttng-gen-tp.1;h=2371436da7aa86dc8b3f1e8d62418ad711582712;hb=98c8a1d90d1052980365353eef201124863128b0;hp=551f003601b892fd77d45838814026eaf7e5d46d;hpb=db06a0a230324416a62f76bab75874065cd83e4e;p=lttng-ust.git diff --git a/doc/man/lttng-gen-tp.1 b/doc/man/lttng-gen-tp.1 index 551f0036..2371436d 100644 --- a/doc/man/lttng-gen-tp.1 +++ b/doc/man/lttng-gen-tp.1 @@ -29,7 +29,10 @@ link it with your application. Refer to the UST documentation for the advantages and disadvantage of each form. To compile the resulting .c file, you need to add the options -"-llttng-ust -I." +"\-llttng-ust \-I.". +Note for C++ support: although an application instrumented with +tracepoints can be compiled with g++, tracepoint probes should be +compiled with gcc (only tested with gcc so far). .SH "OPTIONS" @@ -55,7 +58,7 @@ When no output is specified de default files are generated with the same base fi .SH "TEMPLATE FILE FORMAT" -The template file, which has the usual extention \fB.tp\fP, contains a list of +The template file, which has the usual extension \fB.tp\fP, contains a list of TRACEPOINT_EVENT definitions and other optional definition entries like TRACEPOINT_LOGLEVEL. (See lttng-ust(3) for the complete list of available definition.)