Re: [PATCH v2 0/4] KCOV fixes

From: Dmitry Vyukov
Date: Tue Jun 11 2024 - 05:33:35 EST


On Tue, 11 Jun 2024 at 09:50, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
>
> Fix spurious KCOV coverage from interrupts and add a test.
> Ignore some additional files that lead to large amounts
> of uninteresting coverage.
> As a reference point, tracing a simple open system call
> produces ~10K PCs with these changes instead of ~45K PCs.
>
> Dmitry Vyukov (4):
> x86/entry: Remove unwanted instrumentation in common_interrupt()
> kcov: add interrupt handling self test
> module: Fix KCOV-ignored file name
> x86: Ignore stack unwinding in KCOV
>
> arch/x86/include/asm/hardirq.h | 8 ++++++--
> arch/x86/include/asm/idtentry.h | 6 +++---
> arch/x86/kernel/Makefile | 8 ++++++++
> kernel/kcov.c | 31 +++++++++++++++++++++++++++++++
> kernel/module/Makefile | 2 +-
> lib/Kconfig.debug | 8 ++++++++
> 6 files changed, 57 insertions(+), 6 deletions(-)
>
>
> base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
> --
> 2.45.2.505.gda0bf45e8d-goog

Thomas, Ingo, Borislav, Dave,

Can you take this via x86 tree please?