aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2008-12-16 02:07:03 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-25 07:10:21 -0500
commit468a15bb4cc61694495cc5ed7ffca29e87c79b69 (patch)
tree51274b853cc427666925f917203487a69d01c3d9 /kernel/sched.c
parent0ca59dd948a51c95d5a366d35f897bc5ef9df55d (diff)
sched, trace: update trace_sched_wakeup()
Impact: extend the wakeup tracepoint with the info whether the wakeup was real Add the information needed to distinguish 'real' wakeups from 'false' wakeups. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index ceda5799466e..dcb39bc88f6c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2324,7 +2324,7 @@ out_activate:
2324 success = 1; 2324 success = 1;
2325 2325
2326out_running: 2326out_running:
2327 trace_sched_wakeup(rq, p); 2327 trace_sched_wakeup(rq, p, success);
2328 check_preempt_curr(rq, p, sync); 2328 check_preempt_curr(rq, p, sync);
2329 2329
2330 p->state = TASK_RUNNING; 2330 p->state = TASK_RUNNING;