From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzuds-00063A-Ht for qemu-devel@nongnu.org; Wed, 25 Jun 2014 17:22:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzudl-0003bE-Ud for qemu-devel@nongnu.org; Wed, 25 Jun 2014 17:22:08 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57104 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzudl-0003b0-J4 for qemu-devel@nongnu.org; Wed, 25 Jun 2014 17:22:01 -0400 Message-ID: <53AB3D78.6020108@suse.de> Date: Wed, 25 Jun 2014 23:22:00 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1401695374-4287-1-git-send-email-eric.auger@linaro.org> <1401695374-4287-5-git-send-email-eric.auger@linaro.org> In-Reply-To: <1401695374-4287-5-git-send-email-eric.auger@linaro.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v3 04/10] vfio: simplifed DPRINTF calls using device name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Auger , eric.auger@st.com, christoffer.dall@linaro.org, qemu-devel@nongnu.org, kim.phillips@freescale.com, a.rigo@virtualopensystems.com Cc: peter.maydell@linaro.org, patches@linaro.org, stuart.yoder@freescale.com, alex.williamson@redhat.com, christophe.barnichon@st.com, a.motakis@virtualopensystems.com, kvmarm@lists.cs.columbia.edu On 02.06.14 09:49, Eric Auger wrote: > This patch gets benefit from the new VFIODevice name field. > > Occurences of > DPRINTF("%s(%04x:%02x:%02x.%x) ...", __func__, vdev->host.domain, > vdev->host.bus, vdev->host.slot, vdev->host.function, ...) > are replaced by > DPRINTF("%s(%s ...", __func__, vdev->vdev.name, ...). > > name is built using "%04x:%02x:%02x.%01x" format string. > > Signed-off-by: Eric Auger Just convert them to trace points? Alex