doc/man: only mention `-llttng-ust-common` in synopses (conditionally)
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 9 Jun 2021 19:39:25 +0000 (15:39 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Jun 2021 20:01:24 +0000 (16:01 -0400)
commite9f549af207b2228357442e1fafa109bd459e6f3
treea14eda54b5a102336fa3a8c6f41d7d91d7b35a52
parent7fce6bd50990f582e0b81401dd8ffc25841af626
doc/man: only mention `-llttng-ust-common` in synopses (conditionally)

LTTng-UST only requires that you link your application or tracepoint
provider package with `-llttng-ust-common` if you define
`_LGPL_SOURCE` before you include, directly or indirectly,
`<lttng/tracepoint.h>`.

The `_LGPL_SOURCE` definition is specific to the EfficiOS/LTTng
projects.

Because defining `_LGPL_SOURCE` is not considered the typical scenario,
remove instructions to link with `-llttng-ust-common` throughout the
manual pages, except in synopses, to make such instructions more
readable/light.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I460a2f746d5e2904660a11b3151d0d01776361db
doc/man/lttng-ust.3.txt
doc/man/lttng_ust_tracef.3.txt
doc/man/lttng_ust_tracelog.3.txt
This page took 0.026583 seconds and 4 git commands to generate.