From: Florian Fainelli Date: Mon, 22 May 2017 23:46:46 +0000 (-0700) Subject: kernel: Make KERNEL_PERF_EVENTS selectable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=90336ef4cd3bd6abeb36c321a455b9e875eec56a;p=openwrt%2Fstaging%2Fwigyori.git 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 --- diff --git a/config/Config-kernel.in b/config/Config-kernel.in index ebc8e1f05b..3468899adc 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -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)