summaryrefslogtreecommitdiff
path: root/net/ipv4/Makefile
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2026-05-07 11:34:15 +0200
committerFlorian Westphal <fw@strlen.de>2026-05-24 22:55:47 +0200
commit403cec8ab6d002ee26b8345cfd83e58ca3b0606d (patch)
tree7b631b135e8fa608dd6bf184725682aee62ad2ad /net/ipv4/Makefile
parentec1806a730a1c0b3d68a7f9afe81514fb0dd7991 (diff)
downloadlwn-403cec8ab6d002ee26b8345cfd83e58ca3b0606d.tar.gz
lwn-403cec8ab6d002ee26b8345cfd83e58ca3b0606d.zip
netfilter: add option for GCOV profiling
Similar to a few other subsystems: add a new config toggle to enable netfilter gcov profiling in netfilter, including ebtables, arptables and so on. ipset and ipvs gain their own, dedicated toggles. Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/ipv4/Makefile')
-rw-r--r--net/ipv4/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile
index 7964234f0d08..06e21c26b76f 100644
--- a/net/ipv4/Makefile
+++ b/net/ipv4/Makefile
@@ -71,3 +71,7 @@ obj-$(CONFIG_TCP_AO) += tcp_ao.o
ifeq ($(CONFIG_BPF_JIT),y)
obj-$(CONFIG_BPF_SYSCALL) += bpf_tcp_ca.o
endif
+
+ifdef CONFIG_GCOV_PROFILE_NETFILTER
+GCOV_PROFILE_netfilter.o := y
+endif