Received: from eggs.gnu.org ([2001:4830:134:3::10]:56053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkqK5-0007th-2w for qemu-devel@nongnu.org; Fri, 16 Sep 2016 06:24:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkqK1-0005gL-Rf for qemu-devel@nongnu.org; Fri, 16 Sep 2016 06:24:45 -0400 References: <1473878907-10477-1-git-send-email-lvivier@redhat.com> <20160915000934.GZ15077@voom.fritz.box> <20160916030440.GA12262@voom.fritz.box> From: Laurent Vivier Message-ID: <1a503082-d94c-7fd2-9202-eb86974a3b3a@redhat.com> Date: Fri, 16 Sep 2016 12:24:37 +0200 MIME-Version: 1.0 In-Reply-To: <20160916030440.GA12262@voom.fritz.box> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 16/09/2016 05:04, David Gibson wrote: > On Thu, Sep 15, 2016 at 10:09:34AM +1000, David Gibson wrote: >> On Wed, Sep 14, 2016 at 08:48:22PM +0200, Laurent Vivier wrote: >>> Define and use trace_spapr_XXX functions instead of >>> DPRINTF to trace some SPAPR devices: spapr_vio, spapr_drc, spapr_rtas, >>> spapr_llan, spapr_vscsi. >>> >>> This allows to enable dynamically (instead of recompiling the source) >>> the traces for these devices. Messages are close as possible as >>> messages used by DPRINTF. Sometime, I've removed some text to >>> avoid redundancy between information given by the tracing function name >>> and the text displayed. I've also updated print format to use >>> the good conversion specifier ('u' instead of 'd' when the type is unsigned, >>> PRIx32 instead of 'x' when the type is uint32_t or int32_t, ...) >> >> I've removed the blank likes that Eric Blake mentioned, and applied to >> ppc-for-2.8. > > Sorry, I've taken 5/5 the vscsi one out again. It breaks compile with > --enable-trace-backend=ust, and I haven't had a chance to debug it so far. > It seems one function has too many arguments for this backend. I'll re-post the series with only this change in the patch 5/5. Thanks, Laurent