commit | f0e90e0eadbed59f0afb0d281816873339fd51ee | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Fri Nov 27 11:20:52 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 15 14:36:11 2021 -0500 |
tree | 196bacce6a26c6addf3ff38271c40ff762132dc6 | |
parent | 6278ec1919fff83a4f0adde1e5d987852b154ebf [diff] |
log: don't build the trace buffer when log is not ready Update _log function to drop any traces when log is yet initialized: vsnprintf is no more executed in this case. This patch allows to reduce the cost for the dropped early debug trace. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>