[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a5c4018c-a0fd-7855-1ee9-dc0c4e7251e7@linux.ibm.com>
Date: Thu, 23 Jul 2020 11:47:51 +0200
From: Peter Oberparleiter <oberpar@...ux.ibm.com>
To: Cixi Geng <gengcixi@...il.com>,
Greg KH <gregkh@...uxfoundation.org>, jslaby@...e.com,
linux-serial@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: Cixi Geng1 <cixi.geng1@...soc.com>,
Orson Zhai <orsonzhai@...il.com>, zhang.lyra@...il.com
Subject: Re: [PATCH V6] GCOV: Add config to check the preqequisites situation
On 16.07.2020 14:38, Cixi Geng wrote:
> Hi All:
> Does this patch need more modification?
Yes. As it is now there's still a prompt for the prereq symbol. There
should be no prompt for this symbol in the config dialog.
[...]
>> diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig
>> index 3941a9c48f83..f415c4aaf0ab 100644
>> --- a/kernel/gcov/Kconfig
>> +++ b/kernel/gcov/Kconfig
>> @@ -51,6 +51,16 @@ config GCOV_PROFILE_ALL
>> larger and run slower. Also be sure to exclude files from profiling
>> which are not linked to the kernel image to prevent linker errors.
>>
>> +config GCOV_PROFILE_PREREQS
>> + bool "Profile Kernel for prereqs"
>> + default 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.
>> +
Replace the portion above with these lines:
config GCOV_PROFILE_PREREQS
def_bool y if GCOV_KERNEL && !COMPILE_TEST
--
Peter Oberparleiter
Linux on Z Development - IBM Germany
Powered by blists - more mailing lists