summaryrefslogtreecommitdiff
path: root/net/smc/Makefile
diff options
context:
space:
mode:
authorTony Lu <tonylu@linux.alibaba.com>2021-11-01 15:39:12 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-01 13:39:14 +0000
commit4826260868202246a4dba1c682491d7f4b90d747 (patch)
tree4870743d784827044bf115bb0f6ec2ba19484d20 /net/smc/Makefile
parent6008889121c0463f51e604426031646d7f0a23ce (diff)
net/smc: Introduce tracepoint for fallback
This introduces tracepoint for smc fallback to TCP, so that we can track which connection and why it fallbacks, and map the clcsocks' pointer with /proc/net/tcp to find more details about TCP connections. Compared with kprobe or other dynamic tracing, tracepoints are stable and easy to use. Signed-off-by: Tony Lu <tonylu@linux.alibaba.com> Reviewed-by: Wen Gu <guwen@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/Makefile')
-rw-r--r--net/smc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/smc/Makefile b/net/smc/Makefile
index 99a0186cba5b..196fb6f01b14 100644
--- a/net/smc/Makefile
+++ b/net/smc/Makefile
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
+ccflags-y += -I$(src)
obj-$(CONFIG_SMC) += smc.o
obj-$(CONFIG_SMC_DIAG) += smc_diag.o
smc-y := af_smc.o smc_pnet.o smc_ib.o smc_clc.o smc_core.o smc_wr.o smc_llc.o
smc-y += smc_cdc.o smc_tx.o smc_rx.o smc_close.o smc_ism.o smc_netlink.o smc_stats.o
+smc-y += smc_tracepoint.o