diff options
| author | Patrick Delaunay <[email protected]> | 2020-11-27 11:20:52 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-01-15 14:36:11 -0500 |
| commit | f0e90e0eadbed59f0afb0d281816873339fd51ee (patch) | |
| tree | 196bacce6a26c6addf3ff38271c40ff762132dc6 /scripts | |
| 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 <[email protected]>
Signed-off-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
