Commit 577849bb authored by Philippe Gerum's avatar Philippe Gerum
Browse files

cobalt/trace: do not inadvertently inherit TRACE_INCLUDE_PATH

parent 2ca1b850
......@@ -19,14 +19,11 @@
*/
#undef TRACE_SYSTEM
#define TRACE_SYSTEM cobalt_core
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE cobalt-core
#if !defined(_TRACE_COBALT_CORE_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_COBALT_CORE_H
#include <linux/tracepoint.h>
#include <linux/sched.h>
DECLARE_EVENT_CLASS(thread_event,
TP_PROTO(struct xnthread *thread),
......@@ -635,4 +632,7 @@ DEFINE_EVENT(synch_post_event, cobalt_synch_forget,
#endif /* _TRACE_COBALT_CORE_H */
/* This part must be outside protection */
#undef TRACE_INCLUDE_PATH
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE cobalt-core
#include <trace/define_trace.h>
......@@ -19,8 +19,6 @@
*/
#undef TRACE_SYSTEM
#define TRACE_SYSTEM cobalt_posix
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE cobalt-posix
#if !defined(_TRACE_COBALT_POSIX_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_COBALT_POSIX_H
......@@ -1064,4 +1062,7 @@ DEFINE_EVENT(cobalt_event_ident, cobalt_event_inquire,
#endif /* _TRACE_COBALT_POSIX_H */
/* This part must be outside protection */
#undef TRACE_INCLUDE_PATH
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE cobalt-posix
#include <trace/define_trace.h>
......@@ -19,8 +19,6 @@
*/
#undef TRACE_SYSTEM
#define TRACE_SYSTEM cobalt_rtdm
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE cobalt-rtdm
#if !defined(_TRACE_COBALT_RTDM_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_COBALT_RTDM_H
......@@ -522,4 +520,7 @@ TRACE_EVENT(cobalt_driver_mutex_wait,
#endif /* _TRACE_COBALT_RTDM_H */
/* This part must be outside protection */
#undef TRACE_INCLUDE_PATH
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE cobalt-rtdm
#include <trace/define_trace.h>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment