mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
gcov: enable GCOV_PROFILE_ALL from ARCH Kconfigs
Following the suggestions from Andrew Morton and Stephen Rothwell, Dont expand the ARCH list in kernel/gcov/Kconfig. Instead, define a ARCH_HAS_GCOV_PROFILE_ALL bool which architectures can enable. set ARCH_HAS_GCOV_PROFILE_ALL on Architectures where it was previously allowed + ARM64 which I tested. Signed-off-by: Riku Voipio <[email protected]> Cc: Peter Oberparleiter <[email protected]> Cc: Stephen Rothwell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d5393955c3
commit
957e3facd1
8 changed files with 11 additions and 1 deletions
|
|
@ -32,10 +32,13 @@ config GCOV_KERNEL
|
|||
Note that the debugfs filesystem has to be mounted to access
|
||||
profiling data.
|
||||
|
||||
config ARCH_HAS_GCOV_PROFILE_ALL
|
||||
def_bool n
|
||||
|
||||
config GCOV_PROFILE_ALL
|
||||
bool "Profile entire Kernel"
|
||||
depends on GCOV_KERNEL
|
||||
depends on SUPERH || S390 || X86 || PPC || MICROBLAZE || ARM || ARM64
|
||||
depends on ARCH_HAS_GCOV_PROFILE_ALL
|
||||
default n
|
||||
---help---
|
||||
This options activates profiling for the entire kernel.
|
||||
|
|
|
|||
Loading…
Reference in a new issue