Commit aad7c259 authored by Felipe Balbi's avatar Felipe Balbi

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: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent bc27f66e
...@@ -173,7 +173,7 @@ DECLARE_EVENT_CLASS(dwc3_log_generic_cmd, ...@@ -173,7 +173,7 @@ DECLARE_EVENT_CLASS(dwc3_log_generic_cmd,
__entry->param = param; __entry->param = param;
__entry->status = status; __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), dwc3_gadget_generic_cmd_string(__entry->cmd),
__entry->cmd, __entry->param, __entry->cmd, __entry->param,
dwc3_gadget_generic_cmd_status_string(__entry->status) dwc3_gadget_generic_cmd_status_string(__entry->status)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment