public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] latencytop: Change Kconfig dependency.
@ 2008-02-01 13:06 Heiko Carstens
  2008-02-01 13:11 ` Ingo Molnar
  2008-02-01 13:28 ` Sam Ravnborg
  0 siblings, 2 replies; 6+ messages in thread
From: Heiko Carstens @ 2008-02-01 13:06 UTC (permalink / raw)
  To: Ingo Molnar, Arjan van de Ven
  Cc: Martin Schwidefsky, Holger Wolf, linux-kernel

From: Heiko Carstens <heiko.carstens@de.ibm.com>

Change latencytop Kconfig entry so it doesn't list the archictectures
that support it. Instead introduce HAVE_LATENCY_SUPPORT which any
architecture can set. Should reduce patch conflicts.

Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Holger Wolf <wolf@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---

If ok, should this go in via the x86 tree?

 arch/x86/Kconfig  |    3 +++
 lib/Kconfig.debug |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6/arch/x86/Kconfig
===================================================================
--- linux-2.6.orig/arch/x86/Kconfig
+++ linux-2.6/arch/x86/Kconfig
@@ -44,6 +44,9 @@ config LOCKDEP_SUPPORT
 config STACKTRACE_SUPPORT
 	def_bool y
 
+config HAVE_LATENCYTOP_SUPPORT
+	def_bool y
+
 config SEMAPHORE_SLEEPERS
 	def_bool y
 
Index: linux-2.6/lib/Kconfig.debug
===================================================================
--- linux-2.6.orig/lib/Kconfig.debug
+++ linux-2.6/lib/Kconfig.debug
@@ -581,7 +581,7 @@ config LATENCYTOP
 	select STACKTRACE
 	select SCHEDSTATS
 	select SCHED_DEBUG
-	depends on X86 || X86_64
+	depends on HAVE_LATENCYTOP_SUPPORT
 	help
 	  Enable this option if you want to use the LatencyTOP tool
 	  to find out which userspace is blocking on what kernel operations.

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

end of thread, other threads:[~2008-02-01 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 13:06 [PATCH] latencytop: Change Kconfig dependency Heiko Carstens
2008-02-01 13:11 ` Ingo Molnar
2008-02-01 13:28 ` Sam Ravnborg
2008-02-01 13:32   ` Ingo Molnar
2008-02-01 13:39     ` Sam Ravnborg
2008-02-01 16:22   ` Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox