Re: [PATCH 4/4] trace: profile all if conditionals

From: Andi Kleen
Date: Sun Nov 23 2008 - 14:43:20 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> writes:
>
> Miss means the branch was not taken. Hit means the branch was taken.
> The percent is the percentage the branch was taken.

I'm not sure the results are very useful? What would
you do with it?

It seems like a very special case of gcov, but I think I would
rather have the full thing (patches in -mm I think)

> This adds a significant amount of overhead and should only be used
> by those analyzing their system.

Often this can be also done using CPU performance counters. Might
be a cheaper option.

-Andi

--
ak@xxxxxxxxxxxxxxx
--
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/