diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-05-23 11:10:08 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-20 12:32:39 +0300 |
commit | f75cacc468edc4826305909d6102d60fba55199f (patch) | |
tree | b4c985613ed1383a7a66b74c5890a63a0dc3f7cd /drivers/usb/dwc3/trace.h | |
parent | 7ab373aadbd0463c0f020d368947b05e67a20bd5 (diff) | |
download | linux-f75cacc468edc4826305909d6102d60fba55199f.tar.xz |
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.h | 3 |
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, |