libust events: lazy probe binding
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Aug 2011 00:22:37 +0000 (20:22 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Aug 2011 00:22:37 +0000 (20:22 -0400)
commit8165c8da23fb8a3395d7e829f3d5734e18dd7db9
tree642a89fe15f71d31cf0af3d9e8a86addb62b5dfe
parent83610856fc8fea9e25911b0ca9345970cc39ff17
libust events: lazy probe binding

Ability to cope with abritrary execution order of constructors, mainly
that libust constructor will always be called before the constructor of
the main programs (which will likely contain the probe callbacks and
descriptions from TRACEPOINT_EVENT) requires us to support lazy binding
between event and probes, "fixed" at probe registration time.

Allowing this lazy binding natively supports instrumentation of .so
(without changing the applications), and supports instrumenting shared
objects with dlopen().

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/lttng-events.h
libust/ltt-events.c
libust/ltt-probes.c
libust/ltt-tracer-core.h
This page took 0.025328 seconds and 4 git commands to generate.