Fix: allow non-LGPL modules to use tracepoints
[lttng-ust.git] / include / lttng / tracepoint.h
index 03bc913fd877292857215165d2926bc003cc11dd..39f2c4db752342f14c5bd8206174093595ebacec 100644 (file)
@@ -241,8 +241,6 @@ static inline void tracepoint_disable_destructors(void)
        __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
@@ -349,8 +347,6 @@ __tracepoints__destroy(void)
        }
 }
 
-#endif
-
 #ifdef TRACEPOINT_DEFINE
 
 /*
This page took 0.022933 seconds and 4 git commands to generate.