aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_task_trace.c
diff options
context:
space:
mode:
authorFelipe Cerqueira <felipec@mpi-sws.org>2013-02-13 15:51:02 -0500
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-02-14 11:51:32 -0500
commit60efc2b2302096a7c388a2c5c16a728ae6c9cf7e (patch)
tree0a8d43e476932aad8b340015c3c82e413e077223 /litmus/sched_task_trace.c
parentc7cd5432b98df518b05bc8978d34382797fd9a05 (diff)
Fix tracepoint compilation errorstaging
Linux tracepoints for real time tasks were causing compilation errors. For the tracing data structures to be properly created, it's necessary to add a #define.
Diffstat (limited to 'litmus/sched_task_trace.c')
-rw-r--r--litmus/sched_task_trace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c
index 5ef8d09ab41f..1679a13bde2f 100644
--- a/litmus/sched_task_trace.c
+++ b/litmus/sched_task_trace.c
@@ -15,6 +15,9 @@
15#include <litmus/feather_trace.h> 15#include <litmus/feather_trace.h>
16#include <litmus/ftdev.h> 16#include <litmus/ftdev.h>
17 17
18#ifdef CONFIG_SCHED_LITMUS_TRACEPOINT
19#define CREATE_TRACE_POINTS
20#endif
18 21
19#define NO_EVENTS (1 << CONFIG_SCHED_TASK_TRACE_SHIFT) 22#define NO_EVENTS (1 << CONFIG_SCHED_TASK_TRACE_SHIFT)
20 23