diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-07-21 07:51:38 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-08-07 03:46:51 -0400 |
commit | 8f88280b7201efb67751b904728d7c8ed9786f93 (patch) | |
tree | cf1b8362f617dfa165f9ca69d5383006dfd860cd /litmus/litmus.c | |
parent | d79d6ccb99ae635fbabd1d5879abe681ffc100b7 (diff) |
Move trace point definition to litmus/litmus.c
If !CONFIG_SCHED_TASK_TRACE, but CONFIG_SCHED_LITMUS_TRACEPOINT, then
we still need to define the tracepoint structures.
This patch should be integrated with the earlier sched_task_trace.c
patches during one of the next major rebasing efforts.
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r-- | litmus/litmus.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index 7417a8fbda74..10e45b7bbecc 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -23,6 +23,11 @@ | |||
23 | #include <litmus/affinity.h> | 23 | #include <litmus/affinity.h> |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #ifdef CONFIG_SCHED_LITMUS_TRACEPOINT | ||
27 | #define CREATE_TRACE_POINTS | ||
28 | #include <trace/events/litmus.h> | ||
29 | #endif | ||
30 | |||
26 | /* Number of RT tasks that exist in the system */ | 31 | /* Number of RT tasks that exist in the system */ |
27 | atomic_t rt_task_count = ATOMIC_INIT(0); | 32 | atomic_t rt_task_count = ATOMIC_INIT(0); |
28 | 33 | ||