summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-27 23:45:52 -0500
committerSteven Rostedt <srostedt@redhat.com>2009-02-28 03:06:31 -0500
commit3d7ba938da8481b4f7f9ed3d943dbae49389b284 (patch)
treeee1fc21396f016decc6694a1d0908fc7a3da2ccc /include/trace
parent0ec2ef1505b3e1f54b07bf64f184c92859c3e13f (diff)
downloadop-kernel-dev-3d7ba938da8481b4f7f9ed3d943dbae49389b284.zip
op-kernel-dev-3d7ba938da8481b4f7f9ed3d943dbae49389b284.tar.gz
tracing: add subsystem sched for sched events
Add the TRACE_SYSTEM sched for the sched events. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/sched_event_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/trace/sched_event_types.h b/include/trace/sched_event_types.h
index a3d3d66..2ada206 100644
--- a/include/trace/sched_event_types.h
+++ b/include/trace/sched_event_types.h
@@ -5,6 +5,9 @@
# error Unless you know what you are doing.
#endif
+#undef TRACE_SYSTEM
+#define TRACE_SYSTEM sched
+
TRACE_FORMAT(sched_kthread_stop,
TPPROTO(struct task_struct *t),
TPARGS(t),
@@ -70,3 +73,5 @@ TRACE_FORMAT(sched_signal_send,
TPPROTO(int sig, struct task_struct *p),
TPARGS(sig, p),
TPFMT("sig: %d task %s:%d", sig, p->comm, p->pid));
+
+#undef TRACE_SYSTEM
OpenPOWER on IntegriCloud