From df20329505c5b12e4581481ef0a27af0582c9a12 Mon Sep 17 00:00:00 2001 From: Diaz1401 Date: Fri, 30 Jun 2023 14:49:13 +0700 Subject: [PATCH] try --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 28d207200a76..68a21995deb5 100644 --- a/Makefile +++ b/Makefile @@ -632,11 +632,7 @@ endif # Defaults to vmlinux, but the arch makefile usually adds further targets all: vmlinux -ifeq ($(CONFIG_PGO_KERNEL),y) -CFLAGS_GCOV := -fprofile-generate -else -CFLAGS_GCOV := -fprofile-arcs -endif +CFLAGS_GCOV := -fprofile-arcs -fprofile-values -fvpt CFLAGS_GCOV += -fkernel-pgo -ftest-coverage \ $(call cc-option,-fno-tree-loop-im) \ $(call cc-disable-warning,maybe-uninitialized,)