mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	kernel: enable perf events when enabling profiling, fixes oprofile on arm
SVN-Revision: 33497
This commit is contained in:
		
							parent
							
								
									fd7b2b5141
								
							
						
					
					
						commit
						c4a419b445
					
				@ -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.
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user