提交 3d7ba938 编写于 作者: S Steven Rostedt

tracing: add subsystem sched for sched events

Add the TRACE_SYSTEM sched for the sched events.
Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
上级 0ec2ef15
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册