* TRACEPOINT_SYSTEM.h. This macro may be defined to tell
* define_trace.h what file to include. Note, leave off the ".h".
*
- * TRACEPOINT_INCLUDE_PATH if the path is something other than core
- * kernel include/trace then this macro can define the path to use.
- * Note, the path is relative to tracepoint_event.h, not the file
- * including it. Full path names for out of tree modules must be
- * used.
+ * TRACEPOINT_INCLUDE_PATH if the path is something other than within
+ * the system's include/tracepoint/ path, then this macro can define
+ * the path to use. This path is relative to tracepoint-event.h, or
+ * to the include search path. Trick: Use a
+ * #define TRACEPOINT_INCLUDE_PATH .
+ * combined with -Ipath_to_header as compiler argument to allow
+ * searching for a header within your project build tree.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef TRACEPOINT_CREATE_PROBES
/* Prevent recursion */
#include TRACEPOINT_INCLUDE(TRACEPOINT_INCLUDE_FILE)
-#ifndef CONFIG_NO_EVENT_TRACING
#include <ust/lttng-tracepoint-event.h>
-#endif
#undef TRACEPOINT_EVENT
#undef TRACEPOINT_EVENT_CLASS
#define TRACEPOINT_CREATE_PROBES
#endif /* TRACEPOINT_CREATE_PROBES */
+
+#ifdef __cplusplus
+}
+#endif