Re: [PATCH v2 2/9] log: don't build the trace buffer when log is not ready

2021-01-16 Thread Tom Rini
On Fri, Nov 27, 2020 at 11:20:52AM +0100, Patrick Delaunay wrote: > 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 > Signe

RE: [PATCH v2 2/9] log: don't build the trace buffer when log is not ready

2020-12-02 Thread Patrick DELAUNAY
Hi Sean, > From: Sean Anderson > Sent: vendredi 27 novembre 2020 15:51 > > On 11/27/20 5:20 AM, Patrick Delaunay wrote: > > 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 dr

Re: [PATCH v2 2/9] log: don't build the trace buffer when log is not ready

2020-11-30 Thread Simon Glass
Hi Sean, On Fri, 27 Nov 2020 at 07:50, Sean Anderson wrote: > > On 11/27/20 5:20 AM, Patrick Delaunay wrote: > > 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

Re: [PATCH v2 2/9] log: don't build the trace buffer when log is not ready

2020-11-27 Thread Sean Anderson
On 11/27/20 5:20 AM, Patrick Delaunay wrote: 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 Signed-off-by: Patrick Delaunay --- (

[PATCH v2 2/9] log: don't build the trace buffer when log is not ready

2020-11-27 Thread Patrick Delaunay
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 Signed-off-by: Patrick Delaunay --- (no changes since v1) common/log.c | 13 ++