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 <[email protected]> > Signed-off-by: Patrick Delaunay <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature

