tor instrumentation only works partly
When instrumenting tor, only some of the tracepoints are fired, event though all events are enabled.
(skipping bug reproduction details, since the bug is already solved)
Solved by commit:
Author: Mathieu Desnoyers <email@example.com>
Date: Thu Feb 9 18:55:44 2012 -0500
Fix tracepoint.h multiple .o within module/core exec linkage bug
We need all symbols looked up with dlopen to share the same linkage
property as the __tracepoint_registered variable (shared across .o in a
module/executable), otherwise only the first .o which runs its
constructor will have those defined.
Caused some tracepoints not to be traced in non-_LGPL_SOURCE
applications, due to the check:
if (!TP_RCU_LINK_TEST()) \
Signed-off-by: Mathieu Desnoyers <firstname.lastname@example.org>
No data to display