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>
Wed, 19 Jun 2013 00:05:04 +0000 (20:05 -0400)
commitde774d109ecb14831270cd3f514ed68bb6ea4e69
tree3874aac34a6fe597a46827b35577296396840fc4
parent42e6b243d6485f1f4156c8cb9232d05e43ffc827
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.025033 seconds and 4 git commands to generate.