path: root/trace-events
diff options
authorKevin Wolf <kwolf@redhat.com>2011-07-15 13:50:26 +0200
committerKevin Wolf <kwolf@redhat.com>2011-08-02 15:53:40 +0200
commitf9f05dc58c50d19ad762e6c1ce6b5def9814a4ed (patch)
treedc376f854a20dcaa08a8c2415a14deb91754ac7d /trace-events
parent68485420187094c26f86faee5c7f68b5d6a03603 (diff)
block: Add bdrv_co_readv/writev emulation
In order to be able to call bdrv_co_readv/writev for drivers that don't implement the functions natively, add an emulation that uses the AIO functions to implement them. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'trace-events')
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 46bceca1b..bc9be3010 100644
--- a/trace-events
+++ b/trace-events
@@ -68,6 +68,7 @@ disable bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaq
disable bdrv_set_locked(void *bs, int locked) "bs %p locked %d"
disable bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
disable bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
+disable bdrv_co_io(int is_write, void *acb) "is_write %d acb %p"
# hw/virtio-blk.c
disable virtio_blk_req_complete(void *req, int status) "req %p status %d"