Received: from eggs.gnu.org ([2001:4830:134:3::10]:36710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xge46-00035b-3a for qemu-devel@nongnu.org; Tue, 21 Oct 2014 14:21:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xge41-0007Lh-9D for qemu-devel@nongnu.org; Tue, 21 Oct 2014 14:21:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xge41-0007LX-1V for qemu-devel@nongnu.org; Tue, 21 Oct 2014 14:21:45 -0400 Message-ID: <1413915696.4202.160.camel@ul30vt.home> From: Alex Williamson Date: Tue, 21 Oct 2014 12:21:36 -0600 In-Reply-To: <1412059658-5418-1-git-send-email-eric.auger@linaro.org> References: <1412059658-5418-1-git-send-email-eric.auger@linaro.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] vfio: migration to trace points List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Auger Cc: peter.maydell@linaro.org, eric.auger@st.com, a.rigo@virtualopensystems.com, aik@ozlabs.ru, patches@linaro.org, agraf@suse.de, qemu-devel@nongnu.org, bsd@redhat.com, kvmarm@lists.cs.columbia.edu, kraxel@redhat.com, stefanha@redhat.com, pbonzini@redhat.com, afaerber@suse.de, christoffer.dall@linaro.org On Tue, 2014-09-30 at 07:47 +0100, Eric Auger wrote: > This patch removes all DPRINTF and replace them by trace points. > A few DPRINTF used in error cases were transformed into error_report. > > Signed-off-by: Eric Auger > > --- > > - __func__ is removed since trace point name does the same job > - HWADDR_PRIx were replaced by PRIx64 > - this transformation just is tested compiled on PCI. > qemu configured with --enable-trace-backends=stderr > - in future, format strings and calls may be simplified by using a single > name argument instead of domain, bus, slot, function. > > v1 (RFC) -> v2 (PATCH): > - restore original format strings since parsing now is OK after > commit f9bbba9, > [PATCH v2] trace: tighten up trace-events regex to fix bad parse > --- > hw/misc/vfio.c | 403 +++++++++++++++++++++++++++++---------------------------- > trace-events | 75 ++++++++++- > 2 files changed, 280 insertions(+), 198 deletions(-) Thanks for this conversion Eric. I'll do some testing and make sure it does what I need and put it in after QEMU 2.2 if there are no issues. Thanks, Alex