diff options
| author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-27 11:20:52 +0100 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2021-01-15 14:36:11 -0500 |
| commit | f0e90e0eadbed59f0afb0d281816873339fd51ee (patch) | |
| tree | 196bacce6a26c6addf3ff38271c40ff762132dc6 /include/linux | |
| parent | 6278ec1919fff83a4f0adde1e5d987852b154ebf (diff) | |
| download | u-boot-f0e90e0eadbed59f0afb0d281816873339fd51ee.tar.gz u-boot-f0e90e0eadbed59f0afb0d281816873339fd51ee.tar.xz u-boot-f0e90e0eadbed59f0afb0d281816873339fd51ee.zip | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
