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:
		| @@ -48,7 +48,7 @@ config KERNEL_ARM_PMU | |||||||
| 	depends on (arm || arm64) | 	depends on (arm || arm64) | ||||||
|  |  | ||||||
| config KERNEL_PERF_EVENTS | config KERNEL_PERF_EVENTS | ||||||
| 	bool | 	bool "Compile the kernel with performance events and counters" | ||||||
| 	default n | 	default n | ||||||
| 	select KERNEL_ARM_PMU if (arm || arm64) | 	select KERNEL_ARM_PMU if (arm || arm64) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Florian Fainelli
					Florian Fainelli