Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <andreyknvl@gmail.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Aleksandr Nogikh <nogikh@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Andrey Konovalov and committed by
Andrew Morton
e24f4de8 053a5e4c

+1
+1
lib/Makefile
··· 14 14 KCOV_INSTRUMENT_debugobjects.o := n 15 15 KCOV_INSTRUMENT_dynamic_debug.o := n 16 16 KCOV_INSTRUMENT_fault-inject.o := n 17 + KCOV_INSTRUMENT_find_bit.o := n 17 18 18 19 # string.o implements standard library functions like memset/memcpy etc. 19 20 # Use -ffreestanding to ensure that the compiler does not try to "optimize"