Skip to content
Commit c3d91812 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

trace: Reduce the number of function sites



Given that the compiler adds two function calls into each function, the
current spacing is overkill. Drop it down to 16 bytes per function, which
is still plenty. This saves some space in the trace buffer.

Also move the calculation into a function, so it is common code. Add a
check for gd->mon_len being unset, which breaks tracing.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d9044e53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment