Re: [RFC PATCH v2 3/6] kcov: add CONFIG_KCOV_DATAFLOW_INSTRUMENT_ALL and NO_INLINE
Peter Zijlstra <[email protected]> Thu, 4 Jun 2026 10:46:40 +0200
| Newsgroups | org.kernel.vger.workflows,dev.linux.lists.llvm,org.kernel.vger.linux-doc,org.kernel.vger.linux-kbuild,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
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