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

From: Arnd Bergmann
Date: Fri Oct 21 2011 - 12:52:56 EST


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@xxxxxxxxxxx>

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