aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2012-09-06 08:38:20 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2012-10-18 16:14:07 -0400
commit3ede287e25b12fa4019d786ef084d5c88d4adaa9 (patch)
tree1a1d628553445165e0943adddf97d6fd6203f6e5 /litmus
parentd940d731de7c4c98e47d526d08064035893dbeed (diff)
P-FP: record job release records for tardy tasks
When a job was tardy, the plugin failed to invoke sched_trace. This caused ugly "holes" in the visualized schedule.
Diffstat (limited to 'litmus')
-rw-r--r--litmus/sched_pfp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/sched_pfp.c b/litmus/sched_pfp.c
index b1d5b4326a0e..c425e15c8777 100644
--- a/litmus/sched_pfp.c
+++ b/litmus/sched_pfp.c
@@ -129,6 +129,8 @@ static void job_completion(struct task_struct* t, int forced)
129 129
130 set_rt_flags(t, RT_F_SLEEP); 130 set_rt_flags(t, RT_F_SLEEP);
131 prepare_for_next_period(t); 131 prepare_for_next_period(t);
132 if (is_released(t, litmus_clock()))
133 sched_trace_task_release(t);
132} 134}
133 135
134static void pfp_tick(struct task_struct *t) 136static void pfp_tick(struct task_struct *t)