Re: [Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-27 Thread Stefan Hajnoczi
On Mon, Mar 24, 2014 at 05:35:26PM +, alex.ben...@linaro.org wrote: > From: Alex Bennée > > 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. > >

Re: [Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-26 Thread Mohamad Gebai
I can confirm that it works for me, I can see the disk image file name in the payload of brdv_open_common events. Mohamad On 03/26/2014 04:27 AM, Stefan Hajnoczi wrote: On Tue, Mar 25, 2014 at 02:49:42PM +, Alex Bennée wrote: Stefan Hajnoczi writes: On Mon, Mar 24, 2014 at 05:04:54PM +

Re: [Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-26 Thread Stefan Hajnoczi
On Tue, Mar 25, 2014 at 02:49:42PM +, Alex Bennée wrote: > > Stefan Hajnoczi writes: > > > On Mon, Mar 24, 2014 at 05:04:54PM +, alex.ben...@linaro.org wrote: > >> From: Alex Bennée > >> > >> This makes the UST backend pay attention to the format string arguments > >> that are defined

Re: [Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-25 Thread Alex Bennée
Stefan Hajnoczi writes: > On Mon, Mar 24, 2014 at 05:04:54PM +, alex.ben...@linaro.org wrote: >> From: Alex Bennée >> >> 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 repo

Re: [Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-25 Thread Stefan Hajnoczi
On Mon, Mar 24, 2014 at 05:04:54PM +, alex.ben...@linaro.org wrote: > From: Alex Bennée > > 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. > >

Re: [Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-24 Thread Eric Blake
On 03/24/2014 11:35 AM, alex.ben...@linaro.org wrote: > From: Alex Bennée > > 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. > > Signed-off-by: Al

[Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-24 Thread alex . bennee
From: Alex Bennée 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. Signed-off-by: Alex Bennée --- v2 - remove silly debug statements --- scripts/t

[Qemu-devel] [PATCH] trace: teach lttng backend to use format strings

2014-03-24 Thread alex . bennee
From: Alex Bennée 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. Signed-off-by: Alex Bennée --- scripts/tracetool/__init__.py| 13 +++--