]> git.baikalelectronics.ru Git - uboot.git/commit
trace: Detect an infinite loop
authorSimon Glass <sjg@chromium.org>
Sun, 15 Jan 2023 21:15:51 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 11 Feb 2023 17:22:35 +0000 (12:22 -0500)
commit0b9c73f70b6597fba2309804529568329a02761f
treec17abd8e6c2cd3cff5e1411b7d5cc4dd5b582eb1
parentab22cb05cf41a5d65370f77ce69cfd5f1354c28a
trace: Detect an infinite loop

If something is wrong with a board's timer function such that it calls
functions not marked with notrace, U-Boot will hang.

Detect this, print a message and disable the trace.

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