Re: [PATCH 3/6] x86: Allow the user not to build hw_breakpoints

From: Frederic Weisbecker
Date: Wed Apr 27 2011 - 14:26:51 EST


On Wed, Apr 27, 2011 at 10:38:50AM -0700, H. Peter Anvin wrote:
> On 04/27/2011 09:59 AM, Frederic Weisbecker wrote:
> > So that hw_breakpoints and perf can be not built on
> > specific embedded systems.
>
> How big of a win, if any, is this, really?
>
> -hpa

That's pretty significant, because if you can disable breakpoints,
then you can disable perf. Together they make quite a chunk.

breakpoints + perf:

text data bss dec hex filename
1567422 348628 511680 2427730 250b52 vmlinux


none:

text data bss dec hex filename
1478031 333220 508256 2319507 236493 vmlinux
--
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/