]> git.proxmox.com Git - qemu.git/commit - trace/simple.c
trace: Add wildcard trace event support
authorMark Wu <wudxw@linux.vnet.ibm.com>
Mon, 31 Oct 2011 03:29:04 +0000 (11:29 +0800)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 1 Nov 2011 14:12:15 +0000 (14:12 +0000)
commit454e202d52a517c631cb750ba65ff8079c08b301
treedfa1b8ddc5ac554d14dc5fb24188b60a45eae288
parentff74c5a9a91c6dbf1017195462aa4176f7381240
trace: Add wildcard trace event support

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: Mark Wu <wudxw@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
docs/tracing.txt
trace/simple.c
trace/stderr.c