From: Mathieu Desnoyers Date: Tue, 15 May 2012 12:51:07 +0000 (-0400) Subject: manpage update: document that probes need gcc X-Git-Tag: v2.1.0-rc1~85 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2bda849dea6307107f4e0c6d5938df1907dd6b9d;p=lttng-ust.git manpage update: document that probes need gcc Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/man/lttng-gen-tp.1 b/doc/man/lttng-gen-tp.1 index 5bfe17de..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" diff --git a/doc/man/lttng-ust.3 b/doc/man/lttng-ust.3 index 3ba5c7cc..081f0a73 100644 --- a/doc/man/lttng-ust.3 +++ b/doc/man/lttng-ust.3 @@ -287,6 +287,9 @@ carefully: application using "\-llibname" or loaded with LD_PRELOAD. - Enable instrumentation and control tracing with the "lttng" command from lttng-tools. See lttng-tools doc/quickstart.txt. + - 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). .fi