arm:omap:am335x: Enable Oprofile support on AM335x
authorJeff Lance <jlance1@ti.com>
Tue, 29 Nov 2011 16:30:53 +0000 (10:30 -0600)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:41 +0000 (00:44 +0530)
This enables support for oProfile on AM335x.

Enabling Oprofile does not impact kernel performance since
Oprofile is dormant unless a profiling session is initiated.

Signed-off-by: Jeff Lance <j-lance1@ti.com>
Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
arch/arm/configs/am335x_evm_defconfig

index 06c060e8579af993b24cf93e0ba88d071d64161c..88804cabe27608aa796021487cb57a09ebcc7331 100644 (file)
@@ -123,7 +123,8 @@ CONFIG_VM_EVENT_COUNTERS=y
 CONFIG_COMPAT_BRK=y
 CONFIG_SLAB=y
 # CONFIG_SLUB is not set
-# CONFIG_PROFILING is not set
+CONFIG_PROFILING=y
+CONFIG_OPROFILE=y
 CONFIG_HAVE_OPROFILE=y
 # CONFIG_KPROBES is not set
 CONFIG_HAVE_KPROBES=y