tracing: convert c/p state power tracer to use tracepoints
[linux-2.6.git] / include / trace / sched.h
index 9b2854a..0d81098 100644 (file)
@@ -17,12 +17,12 @@ 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),
-               TPARGS(rq, p));
+       TPPROTO(struct rq *rq, struct task_struct *p, int success),
+               TPARGS(rq, p, success));
 
 DECLARE_TRACE(sched_switch,
        TPPROTO(struct rq *rq, struct task_struct *prev,
@@ -30,8 +30,8 @@ DECLARE_TRACE(sched_switch,
                TPARGS(rq, prev, next));
 
 DECLARE_TRACE(sched_migrate_task,
-       TPPROTO(struct rq *rq, struct task_struct *p, int dest_cpu),
-               TPARGS(rq, p, dest_cpu));
+       TPPROTO(struct task_struct *p, int orig_cpu, int dest_cpu),
+               TPARGS(p, orig_cpu, dest_cpu));
 
 DECLARE_TRACE(sched_process_free,
        TPPROTO(struct task_struct *p),