1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:16:16 +02:00

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
This commit is contained in:
nbd 2012-09-20 20:27:14 +00:00
parent beb93dd4a3
commit 6c383cf512
2 changed files with 6 additions and 0 deletions

View File

@ -193,9 +193,14 @@ menu "Global build settings"
debugging files into. Enable this option to be able to read and debugging files into. Enable this option to be able to read and
write to these files. write to these files.
config KERNEL_PERF_EVENTS
bool
default n
config KERNEL_PROFILING config KERNEL_PROFILING
bool "Compile the kernel with profiling enabled" bool "Compile the kernel with profiling enabled"
default n default n
select KERNEL_PERF_EVENTS
help help
Enable the extended profiling support mechanisms used by profilers such Enable the extended profiling support mechanisms used by profilers such
as OProfile. as OProfile.

View File

@ -922,6 +922,7 @@ CONFIG_HOTPLUG=y
# CONFIG_HWMON_DEBUG_CHIP is not set # CONFIG_HWMON_DEBUG_CHIP is not set
# CONFIG_HWMON_VID is not set # CONFIG_HWMON_VID is not set
# CONFIG_HWSPINLOCK_OMAP is not set # CONFIG_HWSPINLOCK_OMAP is not set
CONFIG_HW_PERF_EVENTS=y
# CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM is not set
# CONFIG_HW_RANDOM_AMD is not set # CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_GEODE is not set # CONFIG_HW_RANDOM_GEODE is not set