From: Tom Rini Date: Wed, 14 Jan 2015 10:27:47 -0500 Subject: [U-Boot] [PATCH 0/2] Really complete SPL & u-boot log on all consoles In-Reply-To: <20150114145729.0649352e@i7> References: <1421152210-14441-1-git-send-email-siarhei.siamashka@gmail.com> <54B6262B.2070505@redhat.com> <20150114145729.0649352e@i7> Message-ID: <20150114152747.GU10826@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jan 14, 2015 at 02:57:29PM +0200, Siarhei Siamashka wrote: [snip] > level of maturity and support. I'm sure that some u-boot developers > are also using something (otherwise, what is the point enabling > '-fstack-usage' GCC option in the first place?). Not perfect, but in doc/README.SPL: 1) Build normally 2) Perform the following shell command to generate a list of C files used in used in $ find spl -name '*.su' | sed -e 's:^spl/::' -e 's:[.]su$:.c:' > used-spl.list 3) Execute cflow: $ cflow --main=board_init_r `cat used-spl.list` 2>&1 | $PAGER And then, yeah, manual poking / just knowing that func() is or is not a big stack user. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: