mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
perf_counter: Set the CONFIG_PERF_COUNTERS default to y if CONFIG_PROFILING=y
If user has already enabled profiling support in the kernel (for oprofile, old-style profiling of ftrace) then offer up perfcounters with a y default in interactive kconfig sessions. Still keep it off by default otherwise. Cc: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
7e030655dd
commit
f26542600e
1 changed files with 1 additions and 0 deletions
|
|
@ -940,6 +940,7 @@ menu "Performance Counters"
|
|||
|
||||
config PERF_COUNTERS
|
||||
bool "Kernel Performance Counters"
|
||||
default y if PROFILING
|
||||
depends on HAVE_PERF_COUNTERS
|
||||
select ANON_INODES
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in a new issue