kernel: fix duplicate KERNEL_PERF_EVENTS with wrong dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41030
This commit is contained in:
		| @@ -299,12 +299,9 @@ if KERNEL_CGROUPS | |||||||
| 		  the kmem extension can use it to guarantee that no group of processes | 		  the kmem extension can use it to guarantee that no group of processes | ||||||
| 		  will ever exhaust kernel resources alone. | 		  will ever exhaust kernel resources alone. | ||||||
|  |  | ||||||
| 	config KERNEL_PERF_EVENTS |  | ||||||
| 		bool |  | ||||||
| 		default y if KERNEL_CGROUP_PERF |  | ||||||
|  |  | ||||||
| 	config KERNEL_CGROUP_PERF | 	config KERNEL_CGROUP_PERF | ||||||
| 		bool "Enable perf_event per-cpu per-container group (cgroup) monitoring" | 		bool "Enable perf_event per-cpu per-container group (cgroup) monitoring" | ||||||
|  | 		select KERNEL_PERF_EVENTS | ||||||
| 		default n | 		default n | ||||||
| 		help | 		help | ||||||
| 		  This option extends the per-cpu mode to restrict monitoring to | 		  This option extends the per-cpu mode to restrict monitoring to | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau