From: Andrey Konovalov Date: Mon, 22 Jul 2024 22:37:26 +0000 (+0200) Subject: kcov: don't instrument lib/find_bit.c X-Git-Tag: v6.12-rc1~114^2~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e24f4de8a72b50b67ea116b38152bb98360f81b3;p=thirdparty%2Flinux.git kcov: don't instrument lib/find_bit.c This file produces large amounts of flaky coverage not useful for the KCOV's intended use case (guiding the fuzzing process). Link: https://lkml.kernel.org/r/20240722223726.194658-1-andrey.konovalov@linux.dev Signed-off-by: Andrey Konovalov Reviewed-by: Dmitry Vyukov Cc: Aleksandr Nogikh Cc: Alexander Potapenko Cc: Marco Elver Cc: Rasmus Villemoes Cc: Yury Norov Signed-off-by: Andrew Morton --- diff --git a/lib/Makefile b/lib/Makefile index 322bb127b4dc6..0fde1c360f32e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -14,6 +14,7 @@ KCOV_INSTRUMENT_list_debug.o := n KCOV_INSTRUMENT_debugobjects.o := n KCOV_INSTRUMENT_dynamic_debug.o := n KCOV_INSTRUMENT_fault-inject.o := n +KCOV_INSTRUMENT_find_bit.o := n # string.o implements standard library functions like memset/memcpy etc. # Use -ffreestanding to ensure that the compiler does not try to "optimize"