kernel: Make KERNEL_PERF_EVENTS selectable

The kernel itself allows enabling/disabling CONFIG_PERF_EVENTS, so allow
doing the same thing.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Florian Fainelli 2017-05-22 16:46:46 -07:00
parent ce731158c8
commit 90336ef4cd
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ config KERNEL_ARM_PMU
depends on (arm || arm64)
config KERNEL_PERF_EVENTS
bool
bool "Compile the kernel with performance events and counters"
default n
select KERNEL_ARM_PMU if (arm || arm64)