]> git.dujemihanovic.xyz Git - u-boot.git/commit
trace: Track the minimum stack depth
authorSimon Glass <sjg@chromium.org>
Sun, 15 Jan 2023 21:15:48 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 11 Feb 2023 17:22:35 +0000 (12:22 -0500)
commitdaca66d55f39551c3499de87397f08fbd3795a9b
treedf19c7edc3b89dfe09c03d44cfb65535078f6ffd
parentc3d91812a2b69fbc73eccdcec70d7ea510d7c8bd
trace: Track the minimum stack depth

The trace does not necessarily start at the top level, so we can see it
go negative. Track this so that we can show an accurate value for the
stack depth.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/trace.c