Commit 3d7ba938 authored by Steven Rostedt's avatar Steven Rostedt

tracing: add subsystem sched for sched events

Add the TRACE_SYSTEM sched for the sched events.
Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent 0ec2ef15
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
# error Unless you know what you are doing. # error Unless you know what you are doing.
#endif #endif
#undef TRACE_SYSTEM
#define TRACE_SYSTEM sched
TRACE_FORMAT(sched_kthread_stop, TRACE_FORMAT(sched_kthread_stop,
TPPROTO(struct task_struct *t), TPPROTO(struct task_struct *t),
TPARGS(t), TPARGS(t),
...@@ -70,3 +73,5 @@ TRACE_FORMAT(sched_signal_send, ...@@ -70,3 +73,5 @@ TRACE_FORMAT(sched_signal_send,
TPPROTO(int sig, struct task_struct *p), TPPROTO(int sig, struct task_struct *p),
TPARGS(sig, p), TPARGS(sig, p),
TPFMT("sig: %d task %s:%d", sig, p->comm, p->pid)); TPFMT("sig: %d task %s:%d", sig, p->comm, p->pid));
#undef TRACE_SYSTEM
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment