diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-10-13 16:17:13 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-10-13 16:17:13 -0400 |
commit | 0836d628227984b343e5ed53e93ebed2252776f7 (patch) | |
tree | e5c73797197ecd232c047220fa1a3a718f19d42b /litmus/sched_task_trace.c | |
parent | 528b42be373ca461bd8538a58385a1515c98489c (diff) | |
parent | f5001920607dee542ff99a058c13080307de0c73 (diff) |
Merge branch 'wip-mc' of ssh://cvs.cs.unc.edu/cvs/proj/litmus/repo/litmus2010 into wip-mc
Diffstat (limited to 'litmus/sched_task_trace.c')
-rw-r--r-- | litmus/sched_task_trace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c index 5ef8d09ab41f..768a2a0f9d2f 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c | |||
@@ -14,7 +14,11 @@ | |||
14 | #include <litmus/sched_trace.h> | 14 | #include <litmus/sched_trace.h> |
15 | #include <litmus/feather_trace.h> | 15 | #include <litmus/feather_trace.h> |
16 | #include <litmus/ftdev.h> | 16 | #include <litmus/ftdev.h> |
17 | #include <litmus/rt_domain.h> | ||
18 | #include <litmus/domain.h> | ||
19 | #include <litmus/event_group.h> | ||
17 | 20 | ||
21 | #include <litmus/sched_mc.h> | ||
18 | 22 | ||
19 | #define NO_EVENTS (1 << CONFIG_SCHED_TASK_TRACE_SHIFT) | 23 | #define NO_EVENTS (1 << CONFIG_SCHED_TASK_TRACE_SHIFT) |
20 | 24 | ||
@@ -132,6 +136,7 @@ feather_callback void do_sched_trace_task_param(unsigned long id, unsigned long | |||
132 | rec->data.param.phase = get_rt_phase(t); | 136 | rec->data.param.phase = get_rt_phase(t); |
133 | rec->data.param.partition = get_partition(t); | 137 | rec->data.param.partition = get_partition(t); |
134 | rec->data.param.class = get_class(t); | 138 | rec->data.param.class = get_class(t); |
139 | rec->data.param.level = (tsk_mc_data(t) ? tsk_mc_crit(t) : -1); | ||
135 | put_record(rec); | 140 | put_record(rec); |
136 | } | 141 | } |
137 | } | 142 | } |