diff options
| author | Patrick Bellasi <patrick.bellasi@arm.com> | 2017-05-15 18:54:53 +0100 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-26 21:01:08 +0200 |
| commit | 2b573c8f032318907a8f1290350980ff0b61052e (patch) | |
| tree | 6577318a2a7bc2603fb0d0896dec151531debcf8 | |
| parent | e280a059986f9185bdcfde732fcf65edac321d47 (diff) | |
sched/tune: fix tracepoint location
Change-Id: Ibbcb281c2f048e2af0ded0b1cbbbedcc49b29e45
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
| -rw-r--r-- | kernel/sched/tune.c | 7 |
1 files 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); + } /* |
