2013-02-02 20:47:37 +00:00
|
|
|
From ef91b4721df38d041867d43300583321119c92e0 Mon Sep 17 00:00:00 2001
|
2012-09-07 15:20:05 +00:00
|
|
|
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
Date: Wed, 29 Aug 2012 12:54:59 +0200
|
2012-10-28 18:05:07 +00:00
|
|
|
Subject: [PATCH] xhci: add trace_usb_xhci_ep_set_dequeue
|
2012-09-07 15:20:05 +00:00
|
|
|
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
---
|
|
|
|
hw/usb/hcd-xhci.c | 2 +-
|
|
|
|
trace-events | 1 +
|
|
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
|
2012-12-16 23:27:22 +00:00
|
|
|
index ad2226f..a938ad3 100644
|
2012-09-07 15:20:05 +00:00
|
|
|
--- a/hw/usb/hcd-xhci.c
|
|
|
|
+++ b/hw/usb/hcd-xhci.c
|
|
|
|
@@ -1145,7 +1145,7 @@ static TRBCCode xhci_set_ep_dequeue(XHCIState *xhci, unsigned int slotid,
|
|
|
|
return CC_TRB_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
- DPRINTF("xhci_set_ep_dequeue(%d, %d, %016"PRIx64")\n", slotid, epid, pdequeue);
|
|
|
|
+ trace_usb_xhci_ep_set_dequeue(slotid, epid, pdequeue);
|
|
|
|
dequeue = xhci_mask64(pdequeue);
|
|
|
|
|
|
|
|
slot = &xhci->slots[slotid-1];
|
|
|
|
diff --git a/trace-events b/trace-events
|
2013-02-02 20:47:37 +00:00
|
|
|
index 9fa7673..7b9cc9e 100644
|
2012-09-07 15:20:05 +00:00
|
|
|
--- a/trace-events
|
|
|
|
+++ b/trace-events
|
2012-10-28 18:05:07 +00:00
|
|
|
@@ -326,6 +326,7 @@ usb_xhci_slot_evaluate(uint32_t slotid) "slotid %d"
|
2012-09-07 15:20:05 +00:00
|
|
|
usb_xhci_slot_reset(uint32_t slotid) "slotid %d"
|
|
|
|
usb_xhci_ep_enable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
|
|
usb_xhci_ep_disable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
|
|
+usb_xhci_ep_set_dequeue(uint32_t slotid, uint32_t epid, uint64_t param) "slotid %d, epid %d, ptr %016" PRIx64
|
|
|
|
usb_xhci_ep_kick(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
|
|
usb_xhci_ep_stop(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|
|
|
|
usb_xhci_ep_reset(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
|