From 6c383cf512abd23407f074009ba18e7afec27285 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 20 Sep 2012 20:27:14 +0000 Subject: kernel: enable perf events when enabling profiling, fixes oprofile on arm git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33497 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Config.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 36ca48881..e5b3346fe 100644 --- a/Config.in +++ b/Config.in @@ -193,9 +193,14 @@ menu "Global build settings" debugging files into. Enable this option to be able to read and write to these files. + config KERNEL_PERF_EVENTS + bool + default n + config KERNEL_PROFILING bool "Compile the kernel with profiling enabled" default n + select KERNEL_PERF_EVENTS help Enable the extended profiling support mechanisms used by profilers such as OProfile. -- cgit v1.2.3