]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
oprofile: select RING_BUFFER
authorIngo Molnar <mingo@elte.hu>
Fri, 12 Dec 2008 08:38:57 +0000 (09:38 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Dec 2008 08:46:31 +0000 (09:46 +0100)
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>
arch/Kconfig

index 471e72dbaf8b123ce235b470303b56f2852209f0..2e13aa261929fd3a3689c41b0bfe6dcdf9805d5c 100644 (file)
@@ -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,