On Tue, 29 Sep 2026 11:03:33 +0900, Lee Yongjun wrote:
> Function tracing uses timer_get_us() to obtain timestamps for trace
> records. On ARMv7 systems using the architectural timer, the
> timer_get_us() call path reaches get_ticks() and get_tbclk().
>
> When built with FTRACE=1, both functions are instrumented with
> __cyg_profile_func_enter() and __cyg_profile_func_exit(). This causes
> the tracing code to be re-entered while obtaining a timestamp and
> results in:
>
> [...]
Applied to u-boot/main, thanks!
[1/1] arm: arch_timer: prevent recursive function tracing
commit: 7b1b8fc581a9d4907968cdbf8fb6296f616d56f0
--
Tom