diff options
author | Felipe Balbi <balbi@ti.com> | 2015-01-27 13:47:02 -0600 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 13:56:10 -0600 |
commit | 6bac4ff0a52262faea4649dc8142962767f88b82 (patch) | |
tree | 745549f7ac87a99e8519697df83b4e25f2301059 /drivers/usb/dwc3 | |
parent | e9f2aa871c732acfe29c3ba5e6b541b2aa786778 (diff) | |
download | linux-6bac4ff0a52262faea4649dc8142962767f88b82.tar.bz2 |
usb: dwc3: trace: add trace logs for core and gadget
Sometimes we want to just print a formatted
string without passing any extra data. The
following will be used for removing reliance
on dev_vdbg() from dwc3.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/trace.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h index 9fc20b33dd8e..9c10669ab91f 100644 --- a/drivers/usb/dwc3/trace.h +++ b/drivers/usb/dwc3/trace.h @@ -47,6 +47,16 @@ DEFINE_EVENT(dwc3_log_msg, dwc3_writel, TP_ARGS(vaf) ); +DEFINE_EVENT(dwc3_log_msg, dwc3_gadget, + TP_PROTO(struct va_format *vaf), + TP_ARGS(vaf) +); + +DEFINE_EVENT(dwc3_log_msg, dwc3_core, + TP_PROTO(struct va_format *vaf), + TP_ARGS(vaf) +); + DEFINE_EVENT(dwc3_log_msg, dwc3_ep0, TP_PROTO(struct va_format *vaf), TP_ARGS(vaf) |