aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/trace.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-05-23 11:10:08 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-20 12:32:39 +0300
commitf75cacc468edc4826305909d6102d60fba55199f (patch)
treeb4c985613ed1383a7a66b74c5890a63a0dc3f7cd /drivers/usb/dwc3/trace.h
parentusb: dwc3: gadget: no more tracking endpoint type with its name (diff)
downloadlinux-dev-f75cacc468edc4826305909d6102d60fba55199f.tar.xz
linux-dev-f75cacc468edc4826305909d6102d60fba55199f.zip
usb: dwc3: trace: fully decode IRQ events
This will make it more human-friendly to read trace output from dwc3. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/trace.h')
-rw-r--r--drivers/usb/dwc3/trace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h
index 8cbe1fc9c8d4..2389dd864ffb 100644
--- a/drivers/usb/dwc3/trace.h
+++ b/drivers/usb/dwc3/trace.h
@@ -71,7 +71,8 @@ DECLARE_EVENT_CLASS(dwc3_log_event,
TP_fast_assign(
__entry->event = event;
),
- TP_printk("event %08x", __entry->event)
+ TP_printk("event (%08x): %s", __entry->event,
+ dwc3_decode_event(__entry->event))
);
DEFINE_EVENT(dwc3_log_event, dwc3_event,