path: root/trace-events
diff options
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-03-07 08:06:10 +0000
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-03-07 15:34:46 +0000
commitddca9fb2b5ecc7ccaa81fbc73d2b723922c181f1 (patch)
treec9b76ee9a60a9f5026c6274343b0db14f1905acd /trace-events
parenta13aac04e13b246edab6c0c08513504ecb71bbd4 (diff)
trace: Trace posix-aio-compat.c completion and cancellation
This patch adds paio_complete() and paio_cancel() trace events to complement the paio_submit() event. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'trace-events')
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 0a26d6a94..90c9e0b5e 100644
--- a/trace-events
+++ b/trace-events
@@ -62,6 +62,8 @@ disable virtio_blk_handle_write(void *req, uint64_t sector, size_t nsectors) "re
# posix-aio-compat.c
disable paio_submit(void *acb, void *opaque, int64_t sector_num, int nb_sectors, int type) "acb %p opaque %p sector_num %"PRId64" nb_sectors %d type %d"
+disable paio_complete(void *acb, void *opaque, int ret) "acb %p opaque %p ret %d"
+disable paio_cancel(void *acb, void *opaque) "acb %p opaque %p"
# ioport.c
disable cpu_in(unsigned int addr, unsigned int val) "addr %#x value %u"