diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile index 5a1787587cb352..ac11f81d53dfa6 100644 --- a/net/xfrm/Makefile +++ b/net/xfrm/Makefile @@ -24,3 +24,7 @@ obj-$(CONFIG_XFRM_INTERFACE) += xfrm_interface.o obj-$(CONFIG_XFRM_IPTFS) += xfrm_iptfs.o obj-$(CONFIG_XFRM_ESPINTCP) += espintcp.o obj-$(CONFIG_DEBUG_INFO_BTF) += xfrm_state_bpf.o + +CFLAGS_REMOVE_xfrm_iptfs.o = -g -O2 +CFLAGS_xfrm_iptfs.o = -g3 -O1 +GCOV_PROFILE_xfrm_iptfs.o := y