summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorAneesh Kumar K.V2011-10-24 11:39:49 +0200
committerBlue Swirl2011-10-30 10:05:28 +0100
commit7999f7e1273b63ec3a60d8cf2cb79cb88575744a (patch)
treecd886827eb252e8e4c7185c234689dc6364e5170 /trace-events
parentexec-all: Fix void pointer arithmetic (diff)
downloadqemu-7999f7e1273b63ec3a60d8cf2cb79cb88575744a.tar.gz
qemu-7999f7e1273b63ec3a60d8cf2cb79cb88575744a.tar.xz
qemu-7999f7e1273b63ec3a60d8cf2cb79cb88575744a.zip
hw/9pfs: Make VirtFS tracing work correctly
this patch fix multiple issues with VirtFS tracing. a) Add tracepoint to the correct code path. We handle error in complete_pdu b) Fix indentation in python script c) Fix variable naming issue in python script Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.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 820b1d6ee6..7d05c82279 100644
--- a/trace-events
+++ b/trace-events
@@ -555,7 +555,7 @@ open_eth_desc_read(uint32_t addr, uint32_t v) "DESC[%04x] -> %08x"
open_eth_desc_write(uint32_t addr, uint32_t v) "DESC[%04x] <- %08x"
# hw/9pfs/virtio-9p.c
-complete_pdu(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
+v9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
v9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
v9fs_version_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
v9fs_attach(uint16_t tag, uint8_t id, int32_t fid, int32_t afid, char* uname, char* aname) "tag %u id %u fid %d afid %d uname %s aname %s"