diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-09-20 15:13:34 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-09-21 10:56:41 -0400 |
commit | a8027073eb127cd207070891374b5c54c2ce3d23 (patch) | |
tree | 27f5dc8effe3b5636d4bab9c890a40aa20fa44e6 /kernel/sched.c | |
parent | b3bc211cfe7d5fe94b310480d78e00bea96fbf2a (diff) | |
download | linux-a8027073eb127cd207070891374b5c54c2ce3d23.tar.bz2 |
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 <ghaskins@novell.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 9ca8ad05950b..4ad473814350 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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; |