diff options
author | Gerd Hoffmann | 2012-08-31 10:44:21 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2012-09-11 07:42:59 +0200 |
commit | 5c514681abbb3ae2f61f517c1aa3197f2f3ca93c (patch) | |
tree | 4ba385c2c7c40396ff02cfec4a6bfdcd7c892439 /trace-events | |
parent | ehci: check for EHCI_ASYNC_FINISHED first in ehci_free_packet (diff) | |
download | qemu-5c514681abbb3ae2f61f517c1aa3197f2f3ca93c.tar.gz qemu-5c514681abbb3ae2f61f517c1aa3197f2f3ca93c.tar.xz qemu-5c514681abbb3ae2f61f517c1aa3197f2f3ca93c.zip |
ehci: trace guest bugs
make qemu_queue_{cancel,reset} return the number of packets released,
so the caller can figure whenever there have been active packets even
though there shouldn't have been any. Add tracepoint to log this.
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 8fcbc50f92..5112a474e0 100644 --- a/trace-events +++ b/trace-events @@ -263,6 +263,7 @@ usb_ehci_data(int rw, uint32_t cpage, uint32_t offset, uint32_t addr, uint32_t l usb_ehci_queue_action(void *q, const char *action) "q %p: %s" usb_ehci_packet_action(void *q, void *p, const char *action) "q %p p %p: %s" usb_ehci_irq(uint32_t level, uint32_t frindex, uint32_t sts, uint32_t mask) "level %d, frindex 0x%04x, sts 0x%x, mask 0x%x" +usb_ehci_guest_bug(const char *reason) "%s" # hw/usb/hcd-uhci.c usb_uhci_reset(void) "=== RESET ===" |