Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Konstantin Khlebnikov
On Sun, Jul 13, 2014 at 1:31 PM, Sam Ravnborg wrote: > Hi Konstantin. > > On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: >> This patch adds option for collecting stack usage statistics >> via gcc option '-fstack-usage' (needs gcc 4.6 or newer). >> For each .o file gcc

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Sam Ravnborg
Hi Konstantin. On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: > This patch adds option for collecting stack usage statistics > via gcc option '-fstack-usage' (needs gcc 4.6 or newer). > For each .o file gcc dumps stack-frame sizes into .su file. > > File format: > :::

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Sam Ravnborg
Hi Konstantin. On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: This patch adds option for collecting stack usage statistics via gcc option '-fstack-usage' (needs gcc 4.6 or newer). For each .o file gcc dumps stack-frame sizes into .su file. File format:

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Konstantin Khlebnikov
On Sun, Jul 13, 2014 at 1:31 PM, Sam Ravnborg s...@ravnborg.org wrote: Hi Konstantin. On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: This patch adds option for collecting stack usage statistics via gcc option '-fstack-usage' (needs gcc 4.6 or newer). For each .o file

[PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-12 Thread Konstantin Khlebnikov
This patch adds option for collecting stack usage statistics via gcc option '-fstack-usage' (needs gcc 4.6 or newer). For each .o file gcc dumps stack-frame sizes into .su file. File format: ::: select.c:870:5:do_sys_poll 1040static rtnetlink.c:1880:12:rtnl_newlink552

[PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-12 Thread Konstantin Khlebnikov
This patch adds option for collecting stack usage statistics via gcc option '-fstack-usage' (needs gcc 4.6 or newer). For each .o file gcc dumps stack-frame sizes into .su file. File format: file:line:column:function size qualifiers select.c:870:5:do_sys_poll 1040static