diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-09-06 08:38:20 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-10-18 16:14:07 -0400 |
commit | 3ede287e25b12fa4019d786ef084d5c88d4adaa9 (patch) | |
tree | 1a1d628553445165e0943adddf97d6fd6203f6e5 | |
parent | d940d731de7c4c98e47d526d08064035893dbeed (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.
-rw-r--r-- | litmus/sched_pfp.c | 2 |
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 | ||
134 | static void pfp_tick(struct task_struct *t) | 136 | static void pfp_tick(struct task_struct *t) |