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