Re: [RFC PATCH v2 3/6] kcov: add CONFIG_KCOV_DATAFLOW_INSTRUMENT_ALL and NO_INLINE
From: Peter Zijlstra
Date: Thu Jun 04 2026 - 04:55:34 EST
On Wed, Jun 03, 2026 at 07:43:30PM +0200, Yunseong Kim wrote:
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index abd1a94589aa..3b952b6361a8 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -2261,7 +2261,6 @@ config KCOV_SELFTEST
> On test failure, causes the kernel to panic. Recommended to be
> enabled, ensuring critical functionality works as intended.
>
> -
> config KCOV_DATAFLOW_ARGS
> bool "Enable KCOV dataflow: function argument capture"
> depends on KCOV
> @@ -2283,6 +2282,28 @@ config KCOV_DATAFLOW_RET
> metadata, recording individual field values at runtime.
> Enable per-module with: KCOV_DATAFLOW_file.o := y in the Makefile.
> Requires clang with -fsanitize-coverage=dataflow-ret support.
> +
This goes into patch 1