From e839aae8d64c86561768ccef869f545951543861 Mon Sep 17 00:00:00 2001 From: Patrick Bellasi Date: Mon, 15 May 2017 18:54:53 +0100 Subject: [PATCH] sched/tune: fix tracepoint location Change-Id: Ibbcb281c2f048e2af0ded0b1cbbbedcc49b29e45 Signed-off-by: Patrick Bellasi --- kernel/sched/tune.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/sched/tune.c b/kernel/sched/tune.c index f8c4e29763d3..37456005852b 100644 --- a/kernel/sched/tune.c +++ b/kernel/sched/tune.c @@ -469,12 +469,13 @@ schedtune_tasks_update(struct task_struct *p, int cpu, int idx, int task_count) /* Update boosted tasks count while avoiding to make it negative */ bg->group[idx].tasks = max(0, tasks); - trace_sched_tune_tasks_update(p, cpu, tasks, idx, - bg->group[idx].boost, bg->boost_max); - /* Boost group activation or deactivation on that RQ */ if (tasks == 1 || tasks == 0) schedtune_cpu_update(cpu); + + trace_sched_tune_tasks_update(p, cpu, tasks, idx, + bg->group[idx].boost, bg->boost_max); + } /*