From: Ian Jackson Subject: Re: [PATCH V5 3/3] libxl, Introduce a QMP client Date: Tue, 28 Jun 2011 11:59:31 +0100 Message-ID: <19977.46099.801292.938105@mariner.uk.xensource.com> References: <1309187551-21538-1-git-send-email-anthony.perard@citrix.com> <1309187551-21538-4-git-send-email-anthony.perard@citrix.com> <19976.44330.128977.805588@mariner.uk.xensource.com> <1309252470.32717.285.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1309252470.32717.285.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Anthony PERARD , Xen Devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH V5 3/3] libxl, Introduce a QMP client"): > I think Ian was only suggesting to remove the ifdef's from the main flow > of code and you've done that for most of the uses with your DEBUG_GEN* > but here perhaps you could also define and call functions which are > empty in the non-debug case. e.g. DEBUG_GEN_START, DEBUG_GEN_END, > DEBUG_GEN_REPORT? Quite so. Thanks, Ian.