commit | 59370aaa5693d57c350074e537f2627d5b9d446c | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Fri Sep 30 17:34:58 2011 +0100 |
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Mon Oct 03 10:56:27 2011 +0100 |
tree | 895901f2e1ecdd77d2e5196235e3831c63b72103 | |
parent | 89bd820acb477b2c41f13977a3ceb4538fadcd02 [diff] [blame] |
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>
diff --git a/block.c b/block.c index 1ae22d5..e865fab 100644 --- a/block.c +++ b/block.c
@@ -2999,7 +2999,7 @@ bdrv_co_io_em_complete, &co); } - trace_bdrv_co_io(is_write, acb); + trace_bdrv_co_io_em(bs, sector_num, nb_sectors, is_write, acb); if (!acb) { return -EIO; }