diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-27 23:45:52 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-28 03:06:31 -0500 |
commit | 3d7ba938da8481b4f7f9ed3d943dbae49389b284 (patch) | |
tree | ee1fc21396f016decc6694a1d0908fc7a3da2ccc | |
parent | 0ec2ef1505b3e1f54b07bf64f184c92859c3e13f (diff) |
tracing: add subsystem sched for sched events
Add the TRACE_SYSTEM sched for the sched events.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
-rw-r--r-- | include/trace/sched_event_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/trace/sched_event_types.h b/include/trace/sched_event_types.h index a3d3d66a51c8..2ada206565a3 100644 --- a/include/trace/sched_event_types.h +++ b/include/trace/sched_event_types.h | |||
@@ -5,6 +5,9 @@ | |||
5 | # error Unless you know what you are doing. | 5 | # error Unless you know what you are doing. |
6 | #endif | 6 | #endif |
7 | 7 | ||
8 | #undef TRACE_SYSTEM | ||
9 | #define TRACE_SYSTEM sched | ||
10 | |||
8 | TRACE_FORMAT(sched_kthread_stop, | 11 | TRACE_FORMAT(sched_kthread_stop, |
9 | TPPROTO(struct task_struct *t), | 12 | TPPROTO(struct task_struct *t), |
10 | TPARGS(t), | 13 | TPARGS(t), |
@@ -70,3 +73,5 @@ TRACE_FORMAT(sched_signal_send, | |||
70 | TPPROTO(int sig, struct task_struct *p), | 73 | TPPROTO(int sig, struct task_struct *p), |
71 | TPARGS(sig, p), | 74 | TPARGS(sig, p), |
72 | TPFMT("sig: %d task %s:%d", sig, p->comm, p->pid)); | 75 | TPFMT("sig: %d task %s:%d", sig, p->comm, p->pid)); |
76 | |||
77 | #undef TRACE_SYSTEM | ||