[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/43] ppc: made printf always compile in debug
Re: [Qemu-devel] [PATCH 09/43] ppc: made printf always compile in debug output
Sun, 2 Apr 2017 16:44:17 +1000
On Sat, Apr 01, 2017 at 04:44:36PM +0300, Danil Antonov wrote:
> >From 236c82fee189c22b88313fda71816e486edab8a6 Mon Sep 17 00:00:00 2001
> From: Danil Antonov <address@hidden>
> Date: Wed, 29 Mar 2017 12:23:58 +0300
> Subject: [PATCH 09/43] ppc: made printf always compile in debug output
> Wrapped printf calls inside debug macros (DPRINTF) in `if` statement.
> This will ensure that printf function will always compile even if debug
> output is turned off and, in turn, will prevent bitrot of the format
> Signed-off-by: Danil Antonov <address@hidden>
Hrm. Long term we really wantto change these to tracepoints anyway,
so I'm not sure how useful this is on its own. I'd apply it anyway,
except it no longer applies clear against ppc-for-2.10.
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
Description: PGP signature