Messages in this thread | | | Subject | Re: [PATCH 3/4] tracing: add schedule events to event trace | From | Peter Zijlstra <> | Date | Wed, 25 Feb 2009 07:29:20 +0100 |
| |
On Tue, 2009-02-24 at 21:56 -0500, Steven Rostedt wrote: > +DEFINE_TRACE_FMT(sched_switch, > + TPPROTO(struct rq *rq, struct task_struct *prev, > + struct task_struct *next), > + TPARGS(rq, prev, next), > + TPFMT("task %s:%d ==> %s:%d", > + prev->comm, prev->pid, next->comm, next->pid));
Why add tehe "task" string to the left hand task, but not the right hand one?
| |