Skip to content

Commit

Permalink
tracing: add subsystem sched for sched events
Browse files Browse the repository at this point in the history
Add the TRACE_SYSTEM sched for the sched events.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
  • Loading branch information
Steven Rostedt committed Feb 28, 2009
1 parent 0ec2ef1 commit 3d7ba93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/trace/sched_event_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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

0 comments on commit 3d7ba93

Please sign in to comment.