Created
May 24, 2012 17:59
-
-
Save cbrake/2783142 to your computer and use it in GitHub Desktop.
Enable oprofile in kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/arm/configs/svs_defconfig b/arch/arm/configs/svs_defconfig | |
index be51787..08cea61 100644 | |
--- a/arch/arm/configs/svs_defconfig | |
+++ b/arch/arm/configs/svs_defconfig | |
@@ -136,7 +136,8 @@ CONFIG_PERF_EVENTS=y | |
CONFIG_SLAB=y | |
# CONFIG_SLUB is not set | |
# CONFIG_SLOB is not set | |
-# CONFIG_PROFILING is not set | |
+CONFIG_PROFILING=y | |
+CONFIG_OPROFILE=m | |
CONFIG_HAVE_OPROFILE=y | |
# CONFIG_KPROBES is not set | |
CONFIG_HAVE_KPROBES=y | |
@@ -1873,6 +1874,8 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | |
CONFIG_HAVE_DYNAMIC_FTRACE=y | |
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |
CONFIG_HAVE_C_RECORDMCOUNT=y | |
+CONFIG_RING_BUFFER=y | |
+CONFIG_RING_BUFFER_ALLOW_SWAP=y | |
CONFIG_TRACING_SUPPORT=y | |
# CONFIG_FTRACE is not set | |
# CONFIG_DMA_API_DEBUG is not set |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment