Makefile (aa5b395b69b65450e008b95ec623b4fc4b175f9f) | Makefile (43e76af85fa7e75ac9b71fc2fcc250abb1889bff) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for some libs needed in the kernel. 4# 5 6ifdef CONFIG_FUNCTION_TRACER 7ORIG_CFLAGS := $(KBUILD_CFLAGS) 8KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) 9endif 10 11# These files are disabled because they produce lots of non-interesting and/or 12# flaky coverage that is not a function of syscall inputs. For example, 13# rbtree can be global and individual rotations don't correlate with inputs. 14KCOV_INSTRUMENT_string.o := n 15KCOV_INSTRUMENT_rbtree.o := n 16KCOV_INSTRUMENT_list_debug.o := n 17KCOV_INSTRUMENT_debugobjects.o := n 18KCOV_INSTRUMENT_dynamic_debug.o := n | 1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for some libs needed in the kernel. 4# 5 6ifdef CONFIG_FUNCTION_TRACER 7ORIG_CFLAGS := $(KBUILD_CFLAGS) 8KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) 9endif 10 11# These files are disabled because they produce lots of non-interesting and/or 12# flaky coverage that is not a function of syscall inputs. For example, 13# rbtree can be global and individual rotations don't correlate with inputs. 14KCOV_INSTRUMENT_string.o := n 15KCOV_INSTRUMENT_rbtree.o := n 16KCOV_INSTRUMENT_list_debug.o := n 17KCOV_INSTRUMENT_debugobjects.o := n 18KCOV_INSTRUMENT_dynamic_debug.o := n |
19KCOV_INSTRUMENT_fault-inject.o := n |
|
19 20# Early boot use of cmdline, don't instrument it 21ifdef CONFIG_AMD_MEM_ENCRYPT 22KASAN_SANITIZE_string.o := n 23 24CFLAGS_string.o := $(call cc-option, -fno-stack-protector) 25endif 26 --- 273 unchanged lines hidden --- | 20 21# Early boot use of cmdline, don't instrument it 22ifdef CONFIG_AMD_MEM_ENCRYPT 23KASAN_SANITIZE_string.o := n 24 25CFLAGS_string.o := $(call cc-option, -fno-stack-protector) 26endif 27 --- 273 unchanged lines hidden --- |