From: Ingo Molnar Date: Fri, 12 Dec 2008 08:38:57 +0000 (+0100) Subject: oprofile: select RING_BUFFER X-Git-Tag: Ubuntu-5.2.0-15.16~31724^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d69d59f49763e6bd047c591c6c1f84c8e13da931;p=mirror_ubuntu-eoan-kernel.git 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 --- diff --git a/arch/Kconfig b/arch/Kconfig index 471e72dbaf8b..2e13aa261929 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,