summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2008-12-16 08:07:03 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-25 13:10:21 +0100
commit468a15bb4cc61694495cc5ed7ffca29e87c79b69 (patch)
tree51274b853cc427666925f917203487a69d01c3d9 /include/trace
parent0ca59dd948a51c95d5a366d35f897bc5ef9df55d (diff)
downloadlinux-3.10-468a15bb4cc61694495cc5ed7ffca29e87c79b69.tar.gz
linux-3.10-468a15bb4cc61694495cc5ed7ffca29e87c79b69.tar.bz2
linux-3.10-468a15bb4cc61694495cc5ed7ffca29e87c79b69.zip
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 'include/trace')
-rw-r--r--include/trace/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/sched.h b/include/trace/sched.h
index bc4c9eadc6b..0d81098ee9f 100644
--- a/include/trace/sched.h
+++ b/include/trace/sched.h
@@ -17,8 +17,8 @@ DECLARE_TRACE(sched_wait_task,
TPARGS(rq, p));
DECLARE_TRACE(sched_wakeup,
- TPPROTO(struct rq *rq, struct task_struct *p),
- TPARGS(rq, p));
+ TPPROTO(struct rq *rq, struct task_struct *p, int success),
+ TPARGS(rq, p, success));
DECLARE_TRACE(sched_wakeup_new,
TPPROTO(struct rq *rq, struct task_struct *p, int success),