From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXTG9-0007Kt-91 for qemu-devel@nongnu.org; Fri, 26 Sep 2014 07:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXTG4-00062s-Ew for qemu-devel@nongnu.org; Fri, 26 Sep 2014 07:00:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXTG4-00062Q-7m for qemu-devel@nongnu.org; Fri, 26 Sep 2014 07:00:16 -0400 From: Stefan Hajnoczi Date: Fri, 26 Sep 2014 11:59:35 +0100 Message-Id: <1411729177-5222-15-git-send-email-stefanha@redhat.com> In-Reply-To: <1411729177-5222-1-git-send-email-stefanha@redhat.com> References: <1411729177-5222-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 14/16] scripts/tracetool: don't barf on formats with precision List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Stefan Hajnoczi From: Alex Benn=C3=A9e This only affects lttng user space tracing at the moment. Signed-off-by: Alex Benn=C3=A9e Signed-off-by: Stefan Hajnoczi --- scripts/tracetool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.p= y index b9a0844..3d5743f 100644 --- a/scripts/tracetool/__init__.py +++ b/scripts/tracetool/__init__.py @@ -228,7 +228,7 @@ class Event(object): self.args, fmt) =20 - _FMT =3D re.compile("(%\w+|%.*PRI\S+)") + _FMT =3D re.compile("(%[\d\.]*\w+|%.*PRI\S+)") =20 def formats(self): """List of argument print formats.""" --=20 1.9.3