Non-LGPL modules that use tracepoint instrumentation, but have no
compile unit defining either TRACEPOINT_DEFINE or
TRACEPOINT_CREATE_PROBES fail to build due to undefined reference to
`tracepoint_dlopen_ptr'.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
__tracepoints__disable_destructors = 1;
}
-#if defined(TRACEPOINT_DEFINE) || defined(TRACEPOINT_CREATE_PROBES)
-
/*
* These weak symbols, the constructor, and destructor take care of
* registering only _one_ instance of the tracepoints per shared-ojbect
}
}
-#endif
-
#ifdef TRACEPOINT_DEFINE
/*