summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/Makefile
diff options
context:
space:
mode:
authorGil Fine <gil.fine@linux.intel.com>2023-02-13 00:45:21 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2024-02-26 09:12:24 +0200
commita0c45b0b6ce23bc1cd6737ecd34df6c4a422a3ae (patch)
tree87768687e53ca396c83b9c2c136ec393802a0332 /drivers/thunderbolt/Makefile
parenta75e0684efe567ae5f6a8e91a8360c4c1773cf3a (diff)
thunderbolt: Add trace events support for the control channel
Sometimes it is useful to see the traffic happening inside the control channel, especially when debugging a possible problem. This adds tracepoints close to the hardware which can be enabled dynamically as needed using the standard Linux trace events facility. Signed-off-by: Gil Fine <gil.fine@linux.intel.com> Co-developed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/Makefile')
-rw-r--r--drivers/thunderbolt/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/Makefile b/drivers/thunderbolt/Makefile
index c8b3d7b78098..b44b32dcb832 100644
--- a/drivers/thunderbolt/Makefile
+++ b/drivers/thunderbolt/Makefile
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
+ccflags-y := -I$(src)
obj-${CONFIG_USB4} := thunderbolt.o
thunderbolt-objs := nhi.o nhi_ops.o ctl.o tb.o switch.o cap.o path.o tunnel.o eeprom.o
thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o