diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-23 07:48:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:33:14 -0400 |
commit | cf569a932217b97e2fc2c48aa597fe29519a0cff (patch) | |
tree | 85be252713acf89df2b63dd6f5169b7ae1b13ae2 /include/trace | |
parent | fa340d9c050e78fb21a142b617304214ae5e0c2d (diff) |
sched: clean up tracepoints
make it a bit more structured hence more readable.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/sched.h | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/include/trace/sched.h b/include/trace/sched.h index 506ae132365..ad47369d01b 100644 --- a/include/trace/sched.h +++ b/include/trace/sched.h | |||
@@ -6,40 +6,51 @@ | |||
6 | 6 | ||
7 | DEFINE_TRACE(sched_kthread_stop, | 7 | DEFINE_TRACE(sched_kthread_stop, |
8 | TPPROTO(struct task_struct *t), | 8 | TPPROTO(struct task_struct *t), |
9 | TPARGS(t)); | 9 | TPARGS(t)); |
10 | |||
10 | DEFINE_TRACE(sched_kthread_stop_ret, | 11 | DEFINE_TRACE(sched_kthread_stop_ret, |
11 | TPPROTO(int ret), | 12 | TPPROTO(int ret), |
12 | TPARGS(ret)); | 13 | TPARGS(ret)); |
14 | |||
13 | DEFINE_TRACE(sched_wait_task, | 15 | DEFINE_TRACE(sched_wait_task, |
14 | TPPROTO(struct rq *rq, struct task_struct *p), | 16 | TPPROTO(struct rq *rq, struct task_struct *p), |
15 | TPARGS(rq, p)); | 17 | TPARGS(rq, p)); |
18 | |||
16 | DEFINE_TRACE(sched_wakeup, | 19 | DEFINE_TRACE(sched_wakeup, |
17 | TPPROTO(struct rq *rq, struct task_struct *p), | 20 | TPPROTO(struct rq *rq, struct task_struct *p), |
18 | TPARGS(rq, p)); | 21 | TPARGS(rq, p)); |
22 | |||
19 | DEFINE_TRACE(sched_wakeup_new, | 23 | DEFINE_TRACE(sched_wakeup_new, |
20 | TPPROTO(struct rq *rq, struct task_struct *p), | 24 | TPPROTO(struct rq *rq, struct task_struct *p), |
21 | TPARGS(rq, p)); | 25 | TPARGS(rq, p)); |
26 | |||
22 | DEFINE_TRACE(sched_switch, | 27 | DEFINE_TRACE(sched_switch, |
23 | TPPROTO(struct rq *rq, struct task_struct *prev, | 28 | TPPROTO(struct rq *rq, struct task_struct *prev, |
24 | struct task_struct *next), | 29 | struct task_struct *next), |
25 | TPARGS(rq, prev, next)); | 30 | TPARGS(rq, prev, next)); |
31 | |||
26 | DEFINE_TRACE(sched_migrate_task, | 32 | DEFINE_TRACE(sched_migrate_task, |
27 | TPPROTO(struct rq *rq, struct task_struct *p, int dest_cpu), | 33 | TPPROTO(struct rq *rq, struct task_struct *p, int dest_cpu), |
28 | TPARGS(rq, p, dest_cpu)); | 34 | TPARGS(rq, p, dest_cpu)); |
35 | |||
29 | DEFINE_TRACE(sched_process_free, | 36 | DEFINE_TRACE(sched_process_free, |
30 | TPPROTO(struct task_struct *p), | 37 | TPPROTO(struct task_struct *p), |
31 | TPARGS(p)); | 38 | TPARGS(p)); |
39 | |||
32 | DEFINE_TRACE(sched_process_exit, | 40 | DEFINE_TRACE(sched_process_exit, |
33 | TPPROTO(struct task_struct *p), | 41 | TPPROTO(struct task_struct *p), |
34 | TPARGS(p)); | 42 | TPARGS(p)); |
43 | |||
35 | DEFINE_TRACE(sched_process_wait, | 44 | DEFINE_TRACE(sched_process_wait, |
36 | TPPROTO(struct pid *pid), | 45 | TPPROTO(struct pid *pid), |
37 | TPARGS(pid)); | 46 | TPARGS(pid)); |
47 | |||
38 | DEFINE_TRACE(sched_process_fork, | 48 | DEFINE_TRACE(sched_process_fork, |
39 | TPPROTO(struct task_struct *parent, struct task_struct *child), | 49 | TPPROTO(struct task_struct *parent, struct task_struct *child), |
40 | TPARGS(parent, child)); | 50 | TPARGS(parent, child)); |
51 | |||
41 | DEFINE_TRACE(sched_signal_send, | 52 | DEFINE_TRACE(sched_signal_send, |
42 | TPPROTO(int sig, struct task_struct *p), | 53 | TPPROTO(int sig, struct task_struct *p), |
43 | TPARGS(sig, p)); | 54 | TPARGS(sig, p)); |
44 | 55 | ||
45 | #endif | 56 | #endif |