usb: gadget: add tracepoints to the gadget API
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 31 May 2016 10:39:21 +0000 (13:39 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 21 Jun 2016 07:38:41 +0000 (10:38 +0300)
commit5e42d710a108c23c104e083900d4ba9398e418b0
treef761787da06d5f43d297e34349957db9ece4b5fa
parent5a8d651a2bde01e00caf78496390d6ae46df80af
usb: gadget: add tracepoints to the gadget API

This new set of tracepoints will help all gadget
drivers and UDC drivers when problem appears. Note
that, in order to be able to add tracepoints to
udc-core.c we had to rename that to core.c and
statically link it with trace.c to form
udc-core.o. This is to make sure that module name
stays the same.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/Makefile
drivers/usb/gadget/udc/core.c [new file with mode: 0644]
drivers/usb/gadget/udc/trace.c [new file with mode: 0644]
drivers/usb/gadget/udc/trace.h [new file with mode: 0644]
drivers/usb/gadget/udc/udc-core.c [deleted file]
include/linux/usb/gadget.h