diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-08 12:27:47 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-13 10:15:32 +0100 |
commit | 5ac2731cf821a7ecae90786d9052891afb09dfc2 (patch) | |
tree | 37c2bcc578d2aee30af5b555da055db65ece993a /trace-events | |
parent | 86e18cae209f8101ff9a6013a1ff6ae620c06944 (diff) |
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-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events index bcfe13a9f7..301374e602 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" |