From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkKVV-000129-VJ for qemu-devel@nongnu.org; Wed, 14 Sep 2016 20:26:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkKVR-0004gK-0Y for qemu-devel@nongnu.org; Wed, 14 Sep 2016 20:26:25 -0400 Date: Thu, 15 Sep 2016 10:09:34 +1000 From: David Gibson Message-ID: <20160915000934.GZ15077@voom.fritz.box> References: <1473878907-10477-1-git-send-email-lvivier@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jn9UjnPB79FDtyKu" Content-Disposition: inline In-Reply-To: <1473878907-10477-1-git-send-email-lvivier@redhat.com> 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: Laurent Vivier Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org --jn9UjnPB79FDtyKu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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 unsign= ed, > 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. --=20 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_! http://www.ozlabs.org/~dgibson --jn9UjnPB79FDtyKu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJX2ea+AAoJEGw4ysog2bOSZSYP/A/P/mFmHIy6v1dNFjHzF6iS 5m7+F4dmfk/MJSw/yWy7ySP+kDyrCgvXWXXyvHnUBedA+iLgSLyDWQ3uEOXJw0Iz zBFCXJsCr1HsCou1p/8EeEndyEBppmZugKJXbsSCdIGtUDmRB8VcuE1qXNnDQ2Aw rLp2IHbuR0hgY1m6lVvdhl4pPFQ3IlaigToNLD0WBUwsszcydUmaidEGYPDNsOVR T1Ckcx4qMsefQw6Hnk8lWcjnKXaHGW5TgsT6t2nvrHclw4MP3SyxQci/pYxcnz8z VsS7pdXQjSxa1UjHc1PoLN7HfnU3Tma+Y5TpgOxe5SYXYPeV44y5SCTIJ1MybYQW yyJV2CG84V+OSCJ73/8dWkbE3H6eZN17CmmZRsdFCNqzBVH76oIeDHfBNXwgti+d v2tHCqy6bC1WHkrKZ+TR2tkpvtHqh831nBCxuNFUZk3yE/gIv0oZKpcN8yZRWb1B yHb+2ghVtt5v1eA1KpINlnxMOJ4dC+5QRr+bQ5Axegj/8vx75O+7EAB1ShkiISYB udMXGr/H+uSGov0zmyWgxP4TURl0SvnJIgJY/qj4OiZqKpWIj055dqecpWWVlad7 9vtnDbfbN053ozQEQVvfOcmwIcnCrduFXqSljHjXsAAoWB1gCiHFwiA8ytlixhst FfsgEU7BSmtuMRvatVIE =Uk7B -----END PGP SIGNATURE----- --jn9UjnPB79FDtyKu--