commit | c3d91812a2b69fbc73eccdcec70d7ea510d7c8bd | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jan 15 14:15:47 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Sat Feb 11 12:22:35 2023 -0500 |
tree | 5ae0a2527e8e8541c41c53159fd9a89bc79b861f | |
parent | d9044e5363bb0b32a7aff00adf47c227f78f0f32 [diff] |
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: Simon Glass <sjg@chromium.org>