Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Harsh Bora
On 11/29/2011 06:26 PM, Stefan Hajnoczi wrote: On Tue, Nov 29, 2011 at 12:35 PM, Markus Armbruster wrote: Stefan Hajnoczi writes: [...] So forget I said "self-describing" :). I think the only changes from the v1 format we need are: 1. New magic number to mark v2 format. 2. Trace records a

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 12:35 PM, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > [...] >> So forget I said "self-describing" :).  I think the only changes from >> the v1 format we need are: >> >> 1. New magic number to mark v2 format. >> >> 2. Trace records are no longer fixed-length, the

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Markus Armbruster
Stefan Hajnoczi writes: [...] > So forget I said "self-describing" :). I think the only changes from > the v1 format we need are: > > 1. New magic number to mark v2 format. > > 2. Trace records are no longer fixed-length, they include a size field: > > typedef struct { > uint32_t length; /*

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 11:34 AM, Stefan Hajnoczi wrote: > On Tue, Nov 29, 2011 at 8:29 AM, Harsh Bora wrote: >> Currently, Qemu provides an in-built "simple" trace backend which is simple >> and easy to use (no additional/external dependencies) and allows developers >> to trace events in Qemu co

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 8:29 AM, Harsh Bora wrote: > Currently, Qemu provides an in-built "simple" trace backend which is simple > and easy to use (no additional/external dependencies) and allows developers > to trace events in Qemu code, however, it suffers from limitations like > unability to tr

[Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Harsh Bora
Currently, Qemu provides an in-built "simple" trace backend which is simple and easy to use (no additional/external dependencies) and allows developers to trace events in Qemu code, however, it suffers from limitations like unability to trace more than 6 elements per trace event, lack of string