Re: [Qemu-devel] [PATCH v7 2/3] Simpletrace v2: Support multiple arguments, strings.

2012-07-18 Thread Stefan Hajnoczi
On Tue, Jul 17, 2012 at 9:08 PM, Harsh Bora wrote: > On 07/18/2012 12:31 AM, Harsh Bora wrote: >> >> On 07/17/2012 08:51 PM, Stefan Hajnoczi wrote: >>> >>> On Tue, Jul 3, 2012 at 10:20 AM, Harsh Prateek Bora >>> wrote: @@ -75,16 +96,31 @@ static char *trace_file_name = NULL; *

Re: [Qemu-devel] [PATCH v7 2/3] Simpletrace v2: Support multiple arguments, strings.

2012-07-18 Thread Stefan Hajnoczi
On Tue, Jul 17, 2012 at 8:01 PM, Harsh Bora wrote: > On 07/17/2012 08:51 PM, Stefan Hajnoczi wrote: >> >> On Tue, Jul 3, 2012 at 10:20 AM, Harsh Prateek Bora >> wrote: >>> >>> Existing simpletrace backend allows to trace at max 6 args and does not >>> support strings. This newer tracelog format g

Re: [Qemu-devel] [PATCH v7 2/3] Simpletrace v2: Support multiple arguments, strings.

2012-07-17 Thread Harsh Bora
On 07/18/2012 12:31 AM, Harsh Bora wrote: On 07/17/2012 08:51 PM, Stefan Hajnoczi wrote: On Tue, Jul 3, 2012 at 10:20 AM, Harsh Prateek Bora wrote: Existing simpletrace backend allows to trace at max 6 args and does not support strings. This newer tracelog format gets rid of fixed size records

Re: [Qemu-devel] [PATCH v7 2/3] Simpletrace v2: Support multiple arguments, strings.

2012-07-17 Thread Harsh Bora
On 07/17/2012 08:51 PM, Stefan Hajnoczi wrote: On Tue, Jul 3, 2012 at 10:20 AM, Harsh Prateek Bora wrote: Existing simpletrace backend allows to trace at max 6 args and does not support strings. This newer tracelog format gets rid of fixed size records and therefore allows to trace variable num

Re: [Qemu-devel] [PATCH v7 2/3] Simpletrace v2: Support multiple arguments, strings.

2012-07-17 Thread Stefan Hajnoczi
On Tue, Jul 3, 2012 at 10:20 AM, Harsh Prateek Bora wrote: > Existing simpletrace backend allows to trace at max 6 args and does not > support strings. This newer tracelog format gets rid of fixed size records > and therefore allows to trace variable number of args including strings. > > Sample tr

[Qemu-devel] [PATCH v7 2/3] Simpletrace v2: Support multiple arguments, strings.

2012-07-03 Thread Harsh Prateek Bora
Existing simpletrace backend allows to trace at max 6 args and does not support strings. This newer tracelog format gets rid of fixed size records and therefore allows to trace variable number of args including strings. Sample trace with strings: v9fs_version 0.000 tag=0x id=0x64 msize=0x2000