From bf62473e45bfe084e40eee31be0252bbb833720e Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 15 May 2012 08:51:07 -0400 Subject: [PATCH] manpage update: document that probes need gcc Signed-off-by: Mathieu Desnoyers --- doc/man/lttng-gen-tp.1 | 5 ++++- doc/man/lttng-ust.3 | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.34.1