All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix oprofile regression: select RING_BUFFER_ALLOW_SWAP
@ 2009-09-16 19:56 Christian Borntraeger
  2009-09-16 20:11 ` Steven Rostedt
  2009-09-17 20:16 ` [tip:tracing/core] oprofile: fix " tip-bot for Christian Borntraeger
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Borntraeger @ 2009-09-16 19:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: Steven Rostedt, Ingo Molnar, Robert Richter


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 <borntraeger@de.ibm.com>
CC-ed: Steven Rostedt <srostedt@redhat.com> 
CC-ed: Ingo Molnar <mingo@elte.hu>
CC-ed: Robert Richter <robert.richter@amd.com>                                                                                                                      
---
 arch/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/arch/Kconfig
===================================================================
--- linux-2.6.orig/arch/Kconfig
+++ linux-2.6/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,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-17 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 19:56 [PATCH] Fix oprofile regression: select RING_BUFFER_ALLOW_SWAP Christian Borntraeger
2009-09-16 20:11 ` Steven Rostedt
2009-09-16 20:54   ` Robert Richter
2009-09-17 20:16 ` [tip:tracing/core] oprofile: fix " tip-bot for Christian Borntraeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.