diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index e24ecd39c4b8..dc1856f10795 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1061,6 +1061,8 @@ wake_affine(struct rq *rq, struct sched_domain *this_sd, struct rq *this_rq, | |||
1061 | if (!(this_sd->flags & SD_WAKE_AFFINE)) | 1061 | if (!(this_sd->flags & SD_WAKE_AFFINE)) |
1062 | return 0; | 1062 | return 0; |
1063 | 1063 | ||
1064 | ftrace_special(__LINE__, curr->se.avg_overlap, sync); | ||
1065 | ftrace_special(__LINE__, p->se.avg_overlap, -1); | ||
1064 | /* | 1066 | /* |
1065 | * If the currently running task will sleep within | 1067 | * If the currently running task will sleep within |
1066 | * a reasonable amount of time then attract this newly | 1068 | * a reasonable amount of time then attract this newly |
@@ -1238,6 +1240,7 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p) | |||
1238 | if (unlikely(se == pse)) | 1240 | if (unlikely(se == pse)) |
1239 | return; | 1241 | return; |
1240 | 1242 | ||
1243 | ftrace_special(__LINE__, p->pid, se->last_wakeup); | ||
1241 | cfs_rq_of(pse)->next = pse; | 1244 | cfs_rq_of(pse)->next = pse; |
1242 | 1245 | ||
1243 | /* | 1246 | /* |