Re: [Qemu-devel] [PATCH] Add wildcard trace event support

2011-10-28 Thread Stefan Hajnoczi
On Thu, Oct 20, 2011 at 10:38 AM, Mark Wu wrote: >  The "tracetool" script automates tedious trace event code generation and also > diff --git a/trace/simple.c b/trace/simple.c > index b639dda..869e315 100644 > --- a/trace/simple.c > +++ b/trace/simple.c > @@ -324,14 +324,29 @@ void trace_print_ev

Re: [Qemu-devel] [PATCH] Add wildcard trace event support

2011-10-20 Thread Mars.Cao
On 10/20/2011 05:38 PM, Mark Wu wrote: A basic wildcard matching is supported in both the monitor command "trace-event" and the events list file. That means you can enable/disable the events having a common prefix in a batch. For example, virtio-blk trace events could be enabled using: trace

[Qemu-devel] [PATCH] Add wildcard trace event support

2011-10-20 Thread Mark Wu
A basic wildcard matching is supported in both the monitor command "trace-event" and the events list file. That means you can enable/disable the events having a common prefix in a batch. For example, virtio-blk trace events could be enabled using: trace-event virtio_blk_* on Signed-off-by: Mar