commit | ec26f89db52a55746212ff80e4ace56d57181732 | [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 | adefafee09240f5961de612e5f7f917249aeb82e [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>