kcov: do not instrument lib/stackdepot.c
[email protected]
maintainerPATCH 77/102 kcov: do not instrument lib/stackdepot.c
From: Alexander Potapenko <[email protected]>
Subject: kcov: do not instrument lib/stackdepot.c
There's no point in collecting coverage from lib/stackdepot.c, as it is not a function of syscall inputs. Disabling kcov instrumentation for that file will reduce the coverage noise level.
Signed-off-by Alexander Potapenko <[email protected]>
Acked-by Dmitry Vyukov <[email protected]>
Cc Kostya Serebryany <[email protected]>
Cc Andrey Konovalov <[email protected]>
Cc syzkaller <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
lib/Makefile | 1 + 1 file changed, 1 insertion(+)
lib/Makefile renamed from lib/Makefile~kcov-do-not-instrument-lib-stackdepotc +1 -0
@@ -180,6 +180,7 @@ obj-$(CONFIG_IRQ_POLL) += irq_poll.o obj-$(CONFIG_STACKDEPOT) += stackdepot.o KASAN_SANITIZE_stackdepot.o := n +KCOV_INSTRUMENT_stackdepot.o := n libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \ fdt_empty_tree.o
_