From: Christian Borntraeger Date: Wed, 16 Sep 2009 19:56:49 +0000 (+0200) Subject: oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP X-Git-Tag: upstream/snapshot3+hdmi~16461^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a5963eb494c8a7be65199e15854551df7d2d939;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP commit 85bac32c4a52c592b857f2c360cc5ec93a097d70 ring-buffer: only enable ring_buffer_swap_cpu when needed broke oprofile (at least on s390, but likely on all platforms). this patch lets oprofile select RING_BUFER_ALLOW_SWAP to make ring_buffer_swap_cpu usable for oprofile. Signed-off-by: Christian Borntraeger LKML-Reference: <200909162156.49239.borntraeger@de.ibm.com> Cc: Ingo Molnar Cc: Robert Richter Signed-off-by: Steven Rostedt --- diff --git a/arch/Kconfig b/arch/Kconfig index beea3cc..7f418bb 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -9,6 +9,7 @@ config OPROFILE depends on TRACING_SUPPORT select TRACING select RING_BUFFER + select RING_BUFFER_ALLOW_SWAP help OProfile is a profiling system capable of profiling the whole system, include the kernel, kernel modules, libraries,