On Thu, Aug 12, 2010 at 6:56 PM, Blue Swirl wrote:
> On Thu, Aug 12, 2010 at 10:36 AM, Stefan Hajnoczi
>> +static bool write_header(FILE *fp)
>> +{
>> + TraceRecord header = {
>
> This should be 'static const'.
Okay.
>> diff --git a/simpletrace.h b/simpletrace.h
>> new file mode 100644
>> ind
On Thu, Aug 12, 2010 at 10:36 AM, Stefan Hajnoczi
wrote:
> This patch adds a simple tracer which produces binary trace files. To
> try out the simple backend:
>
> $ ./configure --trace-backend=simple
> $ make
>
> After running QEMU you can pretty-print the trace:
>
> $ ./simpletrace.py trace-even
This patch adds a simple tracer which produces binary trace files. To
try out the simple backend:
$ ./configure --trace-backend=simple
$ make
After running QEMU you can pretty-print the trace:
$ ./simpletrace.py trace-events /tmp/trace.log
The output of simpletrace.py looks like this:
qemu_