Re: [PATCH 3/4] tracing: add schedule events to event trace

From: Peter Zijlstra
Date: Wed Feb 25 2009 - 01:30:08 EST


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?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/