diff options
author | Stefan Hajnoczi | 2010-05-22 19:15:08 +0200 |
---|---|---|
committer | Anthony Liguori | 2010-09-09 23:22:45 +0200 |
commit | 6d519a5f95960176039baf0af8799fa289915534 (patch) | |
tree | c3ede0800ba02c527e99b40382881803fa3305a8 /trace-events | |
parent | trace: Trace qemu_malloc() and qemu_vmalloc() (diff) | |
download | qemu-6d519a5f95960176039baf0af8799fa289915534.tar.gz qemu-6d519a5f95960176039baf0af8799fa289915534.tar.xz qemu-6d519a5f95960176039baf0af8799fa289915534.zip |
trace: Trace virtio-blk, multiwrite, and paio_submit
This patch adds trace events that make it possible to observe
virtio-blk.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/trace-events b/trace-events index d2f2bbc598..de6479e21f 100644 --- a/trace-events +++ b/trace-events @@ -37,3 +37,17 @@ disable qemu_free(void *ptr) "ptr %p" disable qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p" disable qemu_valloc(size_t size, void *ptr) "size %zu ptr %p" disable qemu_vfree(void *ptr) "ptr %p" + +# block.c +disable multiwrite_cb(void *mcb, int ret) "mcb %p ret %d" +disable bdrv_aio_multiwrite(void *mcb, int num_callbacks, int num_reqs) "mcb %p num_callbacks %d num_reqs %d" +disable bdrv_aio_multiwrite_earlyfail(void *mcb) "mcb %p" +disable bdrv_aio_multiwrite_latefail(void *mcb, int i) "mcb %p i %d" + +# hw/virtio-blk.c +disable virtio_blk_req_complete(void *req, int status) "req %p status %d" +disable virtio_blk_rw_complete(void *req, int ret) "req %p ret %d" +disable virtio_blk_handle_write(void *req, unsigned long sector, unsigned long nsectors) "req %p sector %lu nsectors %lu" + +# posix-aio-compat.c +disable paio_submit(void *acb, void *opaque, unsigned long sector_num, unsigned long nb_sectors, unsigned long type) "acb %p opaque %p sector_num %lu nb_sectors %lu type %lu" |