From fb0b0a73b223fc113e961b1d921322844e9c30d9 Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Fri, 22 Feb 2019 11:40:46 +1100 Subject: powerpc: Enable kcov kcov provides kernel coverage data that's useful for fuzzing tools like syzkaller. Wire up kcov support on powerpc. Disable kcov instrumentation on the same files where we currently disable gcov and UBSan instrumentation, plus some additional exclusions which appear necessary to boot on book3e machines. Signed-off-by: Andrew Donnellan Acked-by: Dmitry Vyukov Tested-by: Daniel Axtens # e6500 Signed-off-by: Michael Ellerman --- arch/powerpc/xmon/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/powerpc/xmon') diff --git a/arch/powerpc/xmon/Makefile b/arch/powerpc/xmon/Makefile index 878f9c1d3615..3050f9323254 100644 --- a/arch/powerpc/xmon/Makefile +++ b/arch/powerpc/xmon/Makefile @@ -5,6 +5,7 @@ subdir-ccflags-y := $(call cc-disable-warning, builtin-requires-header) GCOV_PROFILE := n +KCOV_INSTRUMENT := n UBSAN_SANITIZE := n # Disable ftrace for the entire directory -- cgit v1.2.3