
16 Jan
2021
16 Jan
'21
5:22 p.m.
On Fri, Nov 27, 2020 at 11:20:59AM +0100, Patrick Delaunay wrote:
Reduce the log overhead when the traces are filtered, by moving the vsnprintf call from _log() to log_dispatch().
This patch avoids the printf treatment when LOG features is activated, but trace is filtered, for example when MAX_LOG_LEVEL=8 and LOG_DEFAULT_LEVEL=6.
Reviewed-by: Simon Glass sjg@chromium.org Signed-off-by: Patrick Delaunay patrick.delaunay@st.com
Applied to u-boot/master, thanks!
--
Tom