diff options
Diffstat (limited to 'litmus/sched_task_trace.c')
-rw-r--r-- | litmus/sched_task_trace.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c index 9612ed5831a1..5a196e1b0fbd 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c | |||
@@ -198,11 +198,15 @@ feather_callback void do_sched_trace_task_completion(unsigned long id, | |||
198 | struct task_struct *t = (struct task_struct*) _task; | 198 | struct task_struct *t = (struct task_struct*) _task; |
199 | struct st_event_record* rec = get_record(ST_COMPLETION, t); | 199 | struct st_event_record* rec = get_record(ST_COMPLETION, t); |
200 | if (rec) { | 200 | if (rec) { |
201 | rec->data.completion.when = tsk_rt(t)->user_job.exec_time; | 201 | rec->data.completion.exec = tsk_rt(t)->user_job.exec_time; |
202 | rec->data.completion.flush = tsk_rt(t)->flush; | 202 | rec->data.completion.flush = tsk_rt(t)->flush; |
203 | rec->data.completion.load = tsk_rt(t)->load; | 203 | rec->data.completion.load = tsk_rt(t)->load; |
204 | rec->data.completion.flush_work = tsk_rt(t)->flush_work; | ||
205 | rec->data.completion.load_work = tsk_rt(t)->load_work; | ||
204 | tsk_rt(t)->flush = 0; | 206 | tsk_rt(t)->flush = 0; |
205 | tsk_rt(t)->load = 0; | 207 | tsk_rt(t)->load = 0; |
208 | tsk_rt(t)->flush_work = 0; | ||
209 | tsk_rt(t)->load_work = 0; | ||
206 | put_record(rec); | 210 | put_record(rec); |
207 | } | 211 | } |
208 | } | 212 | } |