Re: [PATCH 0/2] unlikely profiler and tracer

From: Ingo Molnar
Date: Wed Nov 12 2008 - 13:22:04 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

>
> On Wed, 12 Nov 2008, Ingo Molnar wrote:
> > two more small details i noticed:
> >
> > - does it do proper self-test? It doesnt seem so at first sight.
>
> Hmm, no. The problem is that it is a switch to be added to other
> tracers. There's not a branch profiling tracer itself. I could add
> one that just does that, and that could do the self test.

i know that it's an iter_ctrl detail, but nevertheless the branch
tracer (which is how people will be using this) should have some
self-test.

it might also make sense to just have a standalone 'branch' tracer
plugin as well. We have all the callbacks in place already, and people
might be interested in just that info - not in some other tracing
output.

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/