Re: [PATCH] perf sched: Add max delay time snapshot

From: Ingo Molnar
Date: Thu Dec 10 2009 - 02:24:12 EST



* Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxx> wrote:

> Frederic Weisbecker wrote:
>
> > When we have a maximum latency reported for a task, we need a
> > convenient way to find the matching location to the raw traces or to
> > perf sched map that shows where the task has been eventually
> > scheduled in. This gives a pointer to retrieve the events that
> > occured during this max latency.
>
> Then, we can cooperate with ftrace's data to know what the cpu is
> doing at that time.

What do you mean by mixing it with ftrace data? These events ought to be
a full replacement for the sched and wakeup tracers. In the long run we
want a single stream of events and phase out most of the pretty-printing
ftrace plugins.

Ingo
--
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/