mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
tracing/sched: Add sched_pi_setprio tracepoint
Add a tracepoint that shows the priority of a task being boosted via priority inheritance. Cc: Gregory Haskins <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
This commit is contained in:
parent
b3bc211cfe
commit
a8027073eb
2 changed files with 30 additions and 0 deletions
|
|
@ -4355,6 +4355,7 @@ void rt_mutex_setprio(struct task_struct *p, int prio)
|
|||
|
||||
rq = task_rq_lock(p, &flags);
|
||||
|
||||
trace_sched_pi_setprio(p, prio);
|
||||
oldprio = p->prio;
|
||||
prev_class = p->sched_class;
|
||||
on_rq = p->se.on_rq;
|
||||
|
|
|
|||
Loading…
Reference in a new issue