From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSO66-0006mn-0A for qemu-devel@nongnu.org; Tue, 25 Mar 2014 05:56:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSO61-0002ng-9K for qemu-devel@nongnu.org; Tue, 25 Mar 2014 05:56:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSO60-0002nW-S3 for qemu-devel@nongnu.org; Tue, 25 Mar 2014 05:56:37 -0400 Date: Tue, 25 Mar 2014 10:56:27 +0100 From: Stefan Hajnoczi Message-ID: <20140325095627.GO17172@stefanha-thinkpad.redhat.com> References: <1395680694-27758-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1395680694-27758-1-git-send-email-alex.bennee@linaro.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] trace: teach lttng backend to use format strings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex.bennee@linaro.org Cc: Mohamad Gebai , mohamad.gebai@gmail.com, qemu-devel@nongnu.org, vilanova@ac.upc.edu On Mon, Mar 24, 2014 at 05:04:54PM +0000, alex.bennee@linaro.org wrote: > From: Alex Benn=E9e >=20 > This makes the UST backend pay attention to the format string arguments > that are defined when defining payload data. With this you can now > ensure integers are reported in hex mode if you want. >=20 > Signed-off-by: Alex Benn=E9e > --- > scripts/tracetool/__init__.py | 13 +++++++++++-- > scripts/tracetool/backend/ust.py | 16 ++++++++++++---- > 2 files changed, 23 insertions(+), 6 deletions(-) How are strings handled, can LTTng copy them from the QEMU process' memory space? Stefan