projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc27f66
)
usb: dwc3: trace: change format for string to cmd trace
author
Felipe Balbi
<felipe.balbi@linux.intel.com>
Wed, 22 Mar 2017 11:03:13 +0000
(13:03 +0200)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:20 +0000
(10:58 +0300)
a %x is much easier for a human to parse when reading tracepoint
output. Let's change it.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/trace.h
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/trace.h
b/drivers/usb/dwc3/trace.h
index 69671e4589b9bc964fa85a857845416389c45104..fd5fc91fa9a0d70e31a06060655a28dce2ca1317 100644
(file)
--- a/
drivers/usb/dwc3/trace.h
+++ b/
drivers/usb/dwc3/trace.h
@@
-173,7
+173,7
@@
DECLARE_EVENT_CLASS(dwc3_log_generic_cmd,
__entry->param = param;
__entry->status = status;
),
- TP_printk("cmd '%s' [%
d
] param %08x --> status: %s",
+ TP_printk("cmd '%s' [%
x
] param %08x --> status: %s",
dwc3_gadget_generic_cmd_string(__entry->cmd),
__entry->cmd, __entry->param,
dwc3_gadget_generic_cmd_status_string(__entry->status)