diff options
author | Steve Muckle <smuckle@codeaurora.org> | 2014-11-02 17:41:32 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:01:14 -0700 |
commit | 636a5749c8706da90cfb1c607df53f3f657fb76f (patch) | |
tree | 4d036f797ef4f0d69b10cfdd263f095f80de4f7d /kernel | |
parent | bd4d0eade78733d06017a7f022051ee5f077e735 (diff) |
sched: extend sched_task_load tracepoint to indicate sync wakeup
Sync wakeups provide a hint to the scheduler about upcoming task
activity. Knowing which wakeups are sync wakeups from logs will
assist in workload analysis.
Change-Id: I6ffe73f2337e56b8234d4097069d5d70ab045eda
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 8bdcf7485962..75f1862e86d8 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -3229,7 +3229,7 @@ static int select_best_cpu(struct task_struct *p, int target, int reason, int cstate, min_cstate = INT_MAX; int prefer_idle = reason ? 1 : sysctl_sched_prefer_idle; - trace_sched_task_load(p, small_task, boost, reason); + trace_sched_task_load(p, small_task, boost, reason, sync); if (small_task && !boost) { best_cpu = best_small_task_cpu(p, sync); |