forked from Minki/linux
84a99f6fc5
This patch declares an event class for trace events that trace messages with variadic arguments, called xhci_log_msg, and defines a trace event for tracing the debug messages in xhci_address_device() function, called xhci_dbg_address. In order to implement this type of trace events, a wrapper function, called xhci_dbg_trace(), was created that records the format string and variadic arguments into a va_format structure which is passed as argument to the tracepoints of the class xhci_log_msg. All the xhci_dbg() calls in xhci_address_device() are replaced with calls to xhci_dbg_trace(). The functionality of xhci_dbg() log messages was not removed though, but it is placed inside xhci_dbg_trace(). This trace event aims to give the ability to the user or the developper to isolate and trace the debug messages generated when an Address Device Command is issued to xHC. Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
66 lines
2.1 KiB
Makefile
66 lines
2.1 KiB
Makefile
#
|
|
# Makefile for USB Host Controller Drivers
|
|
#
|
|
|
|
ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
|
|
|
|
# tell define_trace.h where to find the xhci trace header
|
|
CFLAGS_xhci-trace.o := -I$(src)
|
|
|
|
isp1760-y := isp1760-hcd.o isp1760-if.o
|
|
|
|
fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
|
|
fhci-y += fhci-mem.o fhci-tds.o fhci-sched.o
|
|
|
|
fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o
|
|
|
|
xhci-hcd-y := xhci.o xhci-mem.o
|
|
xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
|
|
xhci-hcd-y += xhci-trace.o
|
|
xhci-hcd-$(CONFIG_PCI) += xhci-pci.o
|
|
|
|
ifneq ($(CONFIG_USB_XHCI_PLATFORM), )
|
|
xhci-hcd-y += xhci-plat.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB_WHCI_HCD) += whci/
|
|
|
|
obj-$(CONFIG_PCI) += pci-quirks.o
|
|
|
|
obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
|
|
obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
|
|
obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o
|
|
obj-$(CONFIG_USB_EHCI_MXC) += ehci-mxc.o
|
|
obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o
|
|
obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o
|
|
obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o
|
|
obj-$(CONFIG_USB_EHCI_S5P) += ehci-s5p.o
|
|
obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci-atmel.o
|
|
obj-$(CONFIG_USB_EHCI_MSM) += ehci-msm.o
|
|
obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
|
|
|
|
obj-$(CONFIG_USB_OXU210HP_HCD) += oxu210hp-hcd.o
|
|
obj-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
|
|
obj-$(CONFIG_USB_ISP1362_HCD) += isp1362-hcd.o
|
|
|
|
obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o
|
|
obj-$(CONFIG_USB_OHCI_HCD_PCI) += ohci-pci.o
|
|
obj-$(CONFIG_USB_OHCI_HCD_PLATFORM) += ohci-platform.o
|
|
|
|
obj-$(CONFIG_USB_UHCI_HCD) += uhci-hcd.o
|
|
obj-$(CONFIG_USB_FHCI_HCD) += fhci.o
|
|
obj-$(CONFIG_USB_XHCI_HCD) += xhci-hcd.o
|
|
obj-$(CONFIG_USB_SL811_HCD) += sl811-hcd.o
|
|
obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
|
|
obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
|
|
obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
|
|
obj-$(CONFIG_USB_ISP1760_HCD) += isp1760.o
|
|
obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o
|
|
obj-$(CONFIG_USB_IMX21_HCD) += imx21-hcd.o
|
|
obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o
|
|
obj-$(CONFIG_USB_OCTEON2_COMMON) += octeon2-common.o
|
|
obj-$(CONFIG_USB_HCD_BCMA) += bcma-hcd.o
|
|
obj-$(CONFIG_USB_HCD_SSB) += ssb-hcd.o
|
|
obj-$(CONFIG_USB_FUSBH200_HCD) += fusbh200-hcd.o
|
|
obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
|