|
Hans de Goede |
c8dfc6 |
From 53adf697ca70ee8298b6abeb05ebf5a0ebebdc1c Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
c8dfc6 |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
c8dfc6 |
Date: Wed, 29 Aug 2012 12:54:59 +0200
|
|
Hans de Goede |
c8dfc6 |
Subject: [PATCH 337/366] xhci: add trace_usb_xhci_ep_set_dequeue
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
c8dfc6 |
---
|
|
Hans de Goede |
c8dfc6 |
hw/usb/hcd-xhci.c | 2 +-
|
|
Hans de Goede |
c8dfc6 |
trace-events | 1 +
|
|
Hans de Goede |
c8dfc6 |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
|
|
Hans de Goede |
c8dfc6 |
index ab32a7b..5cdaf76 100644
|
|
Hans de Goede |
c8dfc6 |
--- a/hw/usb/hcd-xhci.c
|
|
Hans de Goede |
c8dfc6 |
+++ b/hw/usb/hcd-xhci.c
|
|
Hans de Goede |
c8dfc6 |
@@ -1145,7 +1145,7 @@ static TRBCCode xhci_set_ep_dequeue(XHCIState *xhci, unsigned int slotid,
|
|
Hans de Goede |
c8dfc6 |
return CC_TRB_ERROR;
|
|
Hans de Goede |
c8dfc6 |
}
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
- DPRINTF("xhci_set_ep_dequeue(%d, %d, %016"PRIx64")\n", slotid, epid, pdequeue);
|
|
Hans de Goede |
c8dfc6 |
+ trace_usb_xhci_ep_set_dequeue(slotid, epid, pdequeue);
|
|
Hans de Goede |
c8dfc6 |
dequeue = xhci_mask64(pdequeue);
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
slot = &xhci->slots[slotid-1];
|
|
Hans de Goede |
c8dfc6 |
diff --git a/trace-events b/trace-events
|
|
Hans de Goede |
c8dfc6 |
index 27d59cd..a894689 100644
|
|
Hans de Goede |
c8dfc6 |
--- a/trace-events
|
|
Hans de Goede |
c8dfc6 |
+++ b/trace-events
|
|
Hans de Goede |
c8dfc6 |
@@ -323,6 +323,7 @@ usb_xhci_slot_evaluate(uint32_t slotid) "slotid %d"
|
|
Hans de Goede |
c8dfc6 |
usb_xhci_slot_reset(uint32_t slotid) "slotid %d"
|
|
Hans de Goede |
c8dfc6 |
usb_xhci_ep_enable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
Hans de Goede |
c8dfc6 |
usb_xhci_ep_disable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
Hans de Goede |
c8dfc6 |
+usb_xhci_ep_set_dequeue(uint32_t slotid, uint32_t epid, uint64_t param) "slotid %d, epid %d, ptr %016" PRIx64
|
|
Hans de Goede |
c8dfc6 |
usb_xhci_ep_kick(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
Hans de Goede |
c8dfc6 |
usb_xhci_ep_stop(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
Hans de Goede |
c8dfc6 |
usb_xhci_ep_reset(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
Hans de Goede |
c8dfc6 |
--
|
|
Hans de Goede |
c8dfc6 |
1.7.12
|
|
Hans de Goede |
c8dfc6 |
|