Re: [PATCH V8] GCOV: Add config to check the preqequisites situation

From: Peter Oberparleiter
Date: Fri Oct 30 2020 - 06:25:41 EST


On 28.10.2020 14:15, gengcixi@xxxxxxxxx wrote:
> From: Cixi Geng <cixi.geng1@xxxxxxxxxx>
>
> Introduce new configuration option GCOV_PROFILE_PREREQS that can be
> used to check whether the prerequisites for enabling gcov profiling
> for specific files and directories are met.
>
> Only add SERIAL_GCOV for an example.

[...]

> +config GCOV_PROFILE_PREREQS
> + bool "Profile Kernel for prereqs"
> + def_bool y if GCOV_KERNEL && !COMPILE_TEST
> + help
> + This options activates profiling for the specified kernel modules.
> + When some modules need Gcov data, enable this config, then configure
> + with gcov on the corresponding modules,The directories or files of
> + these modules will be added profiling flags after kernel compile.
> +
> endmenu

This version still produces a prompt during make oldconfig. You need to
remove the "bool" line and the "help" lines.

Before sending another version please test it to make sure that it does
not produce a prompt.


--
Peter Oberparleiter
Linux on Z Development - IBM Germany