From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jan 2021 11:21:29 -0500 Subject: [PATCH v2 2/9] log: don't build the trace buffer when log is not ready In-Reply-To: <20201127102100.11721-3-patrick.delaunay@st.com> References: <20201127102100.11721-1-patrick.delaunay@st.com> <20201127102100.11721-3-patrick.delaunay@st.com> Message-ID: <20210116162129.GL9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: