Skip to content

Commit

Permalink
sched/tune: fix tracepoint location
Browse files Browse the repository at this point in the history
Change-Id: Ibbcb281c2f048e2af0ded0b1cbbbedcc49b29e45
Signed-off-by: Patrick Bellasi <[email protected]>
  • Loading branch information
derkling authored and Nanhumly committed Aug 23, 2023
1 parent ed20dc7 commit e839aae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kernel/sched/tune.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}

/*
Expand Down

0 comments on commit e839aae

Please sign in to comment.