Re: [PATCH 4/4] usb: dwc3: add tracepoints to aid debugging

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 09:30:27AM +0530, Pratyush Anand wrote: On Fri, Sep 05, 2014 at 10:56:26PM +0800, Felipe Balbi wrote: 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

Re: [PATCH 4/4] usb: dwc3: add tracepoints to aid debugging

2014-09-08 Thread Pratyush Anand
On Mon, Sep 08, 2014 at 09:35:33PM +0800, Felipe Balbi wrote: Hi, On Mon, Sep 08, 2014 at 09:30:27AM +0530, Pratyush Anand wrote: On Fri, Sep 05, 2014 at 10:56:26PM +0800, Felipe Balbi wrote: When we're debugging hard-to-reproduce and time-sensitive use cases, printk() poses too much

Re: [PATCH 4/4] usb: dwc3: add tracepoints to aid debugging

2014-09-07 Thread Pratyush Anand
On Fri, Sep 05, 2014 at 10:56:26PM +0800, Felipe Balbi wrote: 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

[PATCH 4/4] usb: dwc3: add tracepoints to aid debugging

2014-09-05 Thread Felipe Balbi
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