Re: [PATCH 07/24] trace: Reduce the default for TRACE_EARLY_CALL_DEPTH_LIMIT

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Jan 15 22:28:19 CET 2023



Am 15. Januar 2023 22:15:44 MEZ schrieb Simon Glass <sjg at chromium.org>:
>This is a silly value at present, since U-Boot's call depth never reaches
>200. Fix it.
>
>Signed-off-by: Simon Glass <sjg at chromium.org>
>---
>
> lib/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/lib/Kconfig b/lib/Kconfig
>index a83f32d82a5..11968a0c531 100644
>--- a/lib/Kconfig
>+++ b/lib/Kconfig
>@@ -368,7 +368,7 @@ config TRACE_EARLY_SIZE
> config TRACE_EARLY_CALL_DEPTH_LIMIT
> 	int "Early trace call depth limit"
> 	depends on TRACE_EARLY
>-	default 200

The call depth when running the EFI SCT by far exceeds 15.

Is the suggested change relevant after reaching the cli?

Did you measure the actual call depth?

Best regards

Heinrich 

>+	default 15
> 	help
> 	  Sets the maximum call depth up to which function calls are recorded
> 	  during early tracing.


More information about the U-Boot mailing list