]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/usb/dwc2/core.h
usb: dwc2: host: Add scheduler logging for missed SOFs
authorDouglas Anderson <dianders@chromium.org>
Fri, 29 Jan 2016 02:20:07 +0000 (18:20 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:44 +0000 (15:14 +0200)
commit483bb2544c470aebdcc41199c0b145d05058a3bd
tree0d8ad5f44089cb0fb7e7a1abd1737906e49198f0
parent2d3f139810cd5d491d8dc8c3332c9d32b9b8e1f1
usb: dwc2: host: Add scheduler logging for missed SOFs

We'll use the new "scheduler verbose debugging" macro to log missed
SOFs.  This is fast enough (assuming you configure it to use the ftrace
buffer) that we can do it without worrying about the speed hit.  The
overhead hit if the scheduler tracing is set to "no_printk" should be
near zero.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/hcd.c
drivers/usb/dwc2/hcd_intr.c