diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-20 20:27:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-20 20:27:14 +0000 |
commit | c4a419b44585a01e9fe9408d1f0493ed1a5dc0af (patch) | |
tree | c68d94faba8a6a019ad47f18c02c72c1d2928673 | |
parent | fd7b2b5141dc3ce723ae54f38645bca44a1b651d (diff) | |
download | upstream-c4a419b44585a01e9fe9408d1f0493ed1a5dc0af.tar.gz upstream-c4a419b44585a01e9fe9408d1f0493ed1a5dc0af.tar.bz2 upstream-c4a419b44585a01e9fe9408d1f0493ed1a5dc0af.zip |
kernel: enable perf events when enabling profiling, fixes oprofile on arm
SVN-Revision: 33497
-rw-r--r-- | Config.in | 5 | ||||
-rw-r--r-- | target/linux/generic/config-3.3 | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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. diff --git a/target/linux/generic/config-3.3 b/target/linux/generic/config-3.3 index a2c90533ca..31f3442edf 100644 --- a/target/linux/generic/config-3.3 +++ b/target/linux/generic/config-3.3 @@ -922,6 +922,7 @@ CONFIG_HOTPLUG=y # CONFIG_HWMON_DEBUG_CHIP is not set # CONFIG_HWMON_VID is not set # CONFIG_HWSPINLOCK_OMAP is not set +CONFIG_HW_PERF_EVENTS=y # CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM_AMD is not set # CONFIG_HW_RANDOM_GEODE is not set |