Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tracepoint_unregister_lib(__start___tracepoints_ptrs);
}
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _LTTNG_TRACEPOINT_H */
+
+/*
+ * For multiple probe generation, we need to redefine TRACEPOINT_EVENT
+ * each time tracepoint.h is included.
+ */
+
#ifndef TRACEPOINT_EVENT
/*
* Usage of the TRACEPOINT_EVENT macro:
#define TRACEPOINT_LOGLEVEL(name, loglevel)
#endif /* #ifndef TRACEPOINT_LOGLEVEL */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _LTTNG_TRACEPOINT_H */