From: Felipe Balbi Date: Tue, 27 Jan 2015 19:47:02 +0000 (-0600) Subject: usb: dwc3: trace: add trace logs for core and gadget X-Git-Tag: v4.14-rc1~5941^2^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6bac4ff0a52262faea4649dc8142962767f88b82;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h index 9fc20b3..9c10669 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)