Fix static provider linking: introduce TRACEPOINT_PROBE_DYNAMIC_LINKAGE
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 4 Feb 2012 19:37:34 +0000 (14:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 4 Feb 2012 19:37:34 +0000 (14:37 -0500)
commit628e1d81fe575cfd281d8e0758b672b23d890c09
treec80405c432b745d652377eff39c96d021252cbad
parent0cdad3b1a77f830aa0d0a385f0ed4c06fe81c7ef
Fix static provider linking: introduce TRACEPOINT_PROBE_DYNAMIC_LINKAGE

We need to emit an unresolved symbol in the case where the provider is
put into a statically linked library, otherwise the linker removes the
provider object.

See README for details.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
README
include/lttng/tracepoint-types.h
include/lttng/tracepoint.h
include/lttng/ust-tracepoint-event.h
tests/demo/demo.c
This page took 0.025082 seconds and 4 git commands to generate.