From fd966e5067ce059d06af9622724047c3a2293503 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 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