summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-12 09:38:57 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-12 09:46:31 +0100
commitd69d59f49763e6bd047c591c6c1f84c8e13da931 (patch)
treeec4d1fa467b0e552ffd2f0c4de5acfe999eecec1 /arch/Kconfig
parentc4f50183f90fb1fd99aa5941f01b90cd1b882d2e (diff)
downloadlinux-0-day-d69d59f49763e6bd047c591c6c1f84c8e13da931.tar.gz
linux-0-day-d69d59f49763e6bd047c591c6c1f84c8e13da931.tar.xz
oprofile: select RING_BUFFER
Impact: build fix OProfile now depends on the ring buffer infrastructure: arch/x86/oprofile/built-in.o: In function `oprofile_add_ibs_sample': : undefined reference to `ring_buffer_unlock_commit' Select TRACING and RING_BUFFER when oprofile is enabled. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 471e72dbaf8b1..2e13aa261929f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -6,6 +6,8 @@ config OPROFILE
tristate "OProfile system profiling (EXPERIMENTAL)"
depends on PROFILING
depends on HAVE_OPROFILE
+ select TRACING
+ select RING_BUFFER
help
OProfile is a profiling system capable of profiling the
whole system, include the kernel, kernel modules, libraries,