aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-12 03:38:57 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-12 03:46:31 -0500
commitd69d59f49763e6bd047c591c6c1f84c8e13da931 (patch)
treeec4d1fa467b0e552ffd2f0c4de5acfe999eecec1
parentc4f50183f90fb1fd99aa5941f01b90cd1b882d2e (diff)
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>
-rw-r--r--arch/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 471e72dbaf8b..2e13aa261929 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -6,6 +6,8 @@ config OPROFILE
6 tristate "OProfile system profiling (EXPERIMENTAL)" 6 tristate "OProfile system profiling (EXPERIMENTAL)"
7 depends on PROFILING 7 depends on PROFILING
8 depends on HAVE_OPROFILE 8 depends on HAVE_OPROFILE
9 select TRACING
10 select RING_BUFFER
9 help 11 help
10 OProfile is a profiling system capable of profiling the 12 OProfile is a profiling system capable of profiling the
11 whole system, include the kernel, kernel modules, libraries, 13 whole system, include the kernel, kernel modules, libraries,