usb: dwc3: add tracepoints to aid debugging
When we're debugging hard-to-reproduce and time-sensitive use cases, printk() poses too much overhead. That's when the kernel's tracing infrastructure comes into play. This patch implements a few initial tracepoints for the dwc3 driver. More traces can be added as necessary in order to ease the task of debugging dwc3. Reviewed-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Showing
drivers/usb/dwc3/debug.c
0 → 100644
drivers/usb/dwc3/trace.c
0 → 100644
drivers/usb/dwc3/trace.h
0 → 100644
Please register or sign in to comment