[PATCH 2/3] ARM: Add static kernel function stack size analyzer, for ARM

Arnd Bergmann arnd at arndb.de
Wed Oct 19 06:45:50 EDT 2011


On Tuesday 18 October 2011 16:31:50 Tim Bird wrote:
> 
> This tool can be used to analyze the function stack size for ARM kernels,
> statically, based on a disassembly of vmlinux (or an individual .o file
> 
> Signed-off-by: Tim Bird <tim.bird at am.sony.com>

Hi Tim,

I thought we now had a gcc option for this. gcc documentation points to -Wstack-usage=XXX.
This was first introduced on s390 in architecture specific gcc code, but should now work
everywhere.

	Arnd



More information about the linux-arm-kernel mailing list