summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-09-30 17:34:58 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-10-03 10:56:27 +0100
commit59370aaa5693d57c350074e537f2627d5b9d446c (patch)
tree895901f2e1ecdd77d2e5196235e3831c63b72103 /trace-events
parent89bd820acb477b2c41f13977a3ceb4538fadcd02 (diff)
downloadhqemu-59370aaa5693d57c350074e537f2627d5b9d446c.zip
hqemu-59370aaa5693d57c350074e537f2627d5b9d446c.tar.gz
trace: add arguments to bdrv_co_io_em() trace event
It is useful to know the BlockDriverState as well as the sector_num/nb_sectors of an emulated .bdrv_co_*() request. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-events b/trace-events
index c9fd8e5..9528c04 100644
--- a/trace-events
+++ b/trace-events
@@ -67,7 +67,7 @@ bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs
bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
-bdrv_co_io(int is_write, void *acb) "is_write %d acb %p"
+bdrv_co_io_em(void *bs, int64_t sector_num, int nb_sectors, int is_write, void *acb) "bs %p sector_num %"PRId64" nb_sectors %d is_write %d acb %p"
# hw/virtio-blk.c
virtio_blk_req_complete(void *req, int status) "req %p status %d"
OpenPOWER on IntegriCloud