aboutsummaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-03-08 12:27:47 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-03-13 10:15:32 +0100
commit5ac2731cf821a7ecae90786d9052891afb09dfc2 (patch)
tree37c2bcc578d2aee30af5b555da055db65ece993a /trace-events
parent86e18cae209f8101ff9a6013a1ff6ae620c06944 (diff)
downloadqemu-5ac2731cf821a7ecae90786d9052891afb09dfc2.zip
qemu-5ac2731cf821a7ecae90786d9052891afb09dfc2.tar.gz
qemu-5ac2731cf821a7ecae90786d9052891afb09dfc2.tar.bz2
usb: improve packet state sanity checks
Add a new function to check whenever the packet state is as expected, log more informations in case it isn't. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index bcfe13a..301374e 100644
--- a/trace-events
+++ b/trace-events
@@ -229,6 +229,7 @@ sun4m_iommu_bad_addr(uint64_t addr) "bad addr %"PRIx64
# hw/usb/core.c
usb_packet_state_change(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s -> %s"
+usb_packet_state_fault(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s, expected %s"
# hw/usb/bus.c
usb_port_claim(int bus, const char *port) "bus %d, port %s"