From c9e026ee2c54dec8089a52de6da6bd70c05be8ee Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Thu, 12 Jan 2023 09:58:43 -0500 Subject: [PATCH] iptfs: build: enable profiling --- net/xfrm/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile index cd6520d4d77767..bfaf08169f4126 100644 --- a/net/xfrm/Makefile +++ b/net/xfrm/Makefile @@ -23,3 +23,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