Fix: tracepoint instrumentation constructor order issue
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Mar 2013 18:39:24 +0000 (14:39 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Mar 2013 18:39:24 +0000 (14:39 -0400)
commit46c881a7d6839761e3371a93ba29e7a0202bcd03
treeb902f64318f3fe8b5bc336dd2ccf547822964e0c
parent77ca1460d75b4f364aeb2002673569c69e59ecc8
Fix: tracepoint instrumentation constructor order issue

If the linker decides to run a constructor from a tracepoint probe
before the constructor from the application, a recent modification
(commit 558b9d86247004f8e9bbaf8c982f3b2b182093d1) allowed that the wrong
constructor execution order could prohibit the program's tracepoints
from being registered.

Fix this by making two separate constructors.

Fixes #487

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracepoint.h
This page took 0.02712 seconds and 4 git commands to generate.