diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-03-22 13:03:13 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-04-11 10:58:20 +0300 |
commit | aad7c25964955ccf097712d596ef00a3e187341e (patch) | |
tree | f5908f0724b5b33d9ffbeae6b8304d64c4acf48a /drivers/usb | |
parent | bc27f66e0693f8ffdaae6bf1f6efc37ff65ed142 (diff) | |
download | op-kernel-dev-aad7c25964955ccf097712d596ef00a3e187341e.zip op-kernel-dev-aad7c25964955ccf097712d596ef00a3e187341e.tar.gz |
usb: dwc3: trace: change format for string to cmd trace
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h index 69671e4..fd5fc91 100644 --- 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) |