[PATCH] Re: oprofile?

Harald Welte laforge at openmoko.org
Mon Oct 20 23:12:56 CEST 2008


On Thu, Jul 31, 2008 at 11:06:21AM -0700, Russell Sears wrote:
> What's the status of bug #674?  

I have to get back to this topic.  We really should enable the OPROFILE kernel
option in our kernel images.  It is basically impossible to do any system-wide
performance tuning/optimization without it.

Can we please get the following patch merged into org.openembedded.dev?

Thanks in advance.

diff --git a/conf/distro/include/preferred-om-2008-versions.inc b/conf/distro/include/preferred-om-2008-versions.inc
index 6b27323..b2460e7 100644
--- a/conf/distro/include/preferred-om-2008-versions.inc
+++ b/conf/distro/include/preferred-om-2008-versions.inc
@@ -1383,7 +1383,7 @@ PREFERRED_VERSION_openvpn ?= "2.0.9"
 SRCREV_pn-opkg-native ?= "4640"
 SRCREV_pn-opkg ?= "4640"
 PREFERRED_VERSION_oplinux-packages ?= "1.0"
-PREFERRED_VERSION_oprofile ?= "0.9.3"
+PREFERRED_VERSION_oprofile ?= "0.9.4"
 PREFERRED_VERSION_orage ?= "4.4.1"
 PREFERRED_VERSION_orbit2 ?= "2.14.12"
 PREFERRED_VERSION_orbit2-native ?= "2.14.12"
diff --git a/packages/linux/linux-openmoko/defconfig-oe b/packages/linux/linux-openmoko/defconfig-oe
index 4154639..51c0128 100644
--- a/packages/linux/linux-openmoko/defconfig-oe
+++ b/packages/linux/linux-openmoko/defconfig-oe
@@ -1653,7 +1653,8 @@ CONFIG_NLS_ISO8859_1=y
 CONFIG_NLS_UTF8=m
 # CONFIG_DLM is not set
 CONFIG_INSTRUMENTATION=y
-# CONFIG_PROFILING is not set
+CONFIG_PROFILING=y
+CONFIG_OPROFILE=m
 # CONFIG_MARKERS is not set
 
 #
-- 
- Harald Welte <laforge at openmoko.org>          	        http://openmoko.org/
============================================================================
Software for the world's first truly open Free Software mobile phone



More information about the devel mailing list