lkml.org 
[lkml]   [2009]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/4] tracing: add schedule events to event trace
From
Date
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?



\
 
 \ /
  Last update: 2009-02-25 07:33    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site