From: Mathieu Desnoyers Date: Sat, 23 Nov 2013 17:55:44 +0000 (-0500) Subject: Fix lttng-ust(3) manpage X-Git-Tag: v2.2.3~10 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d65cf69bed0d5ffecb09e70b405029f441b0dbc1;p=lttng-ust.git Fix lttng-ust(3) manpage Describe that TRACEPOINT_CREATE_PROBES is needed. Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/man/lttng-ust.3 b/doc/man/lttng-ust.3 index 26841d02..7624e88f 100644 --- a/doc/man/lttng-ust.3 +++ b/doc/man/lttng-ust.3 @@ -33,9 +33,13 @@ script, through an example: .nf To create a tracepoint provider, within a build tree similar to -examples/easy-ust installed with lttng-ust documentation, a -sample_component_provider.h for the general layout. This manpage will -focus on the various types that can be recorded into a trace event: +examples/easy-ust installed with lttng-ust documentation, see +sample_component_provider.h for the general layout. You will need to +define TRACEPOINT_CREATE_PROBES before including your tracepoint +provider probe in one source file of your application. See tp.c from +easy-ust for an example of a tracepoint probe source file. This manpage +will focus on the various types that can be recorded into a trace +event: TRACEPOINT_EVENT( /*