Przeglądaj źródła

latencytop: Change Kconfig dependency.

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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Holger Wolf <wolf@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Heiko Carstens 17 lat temu
rodzic
commit
aa7d93506c
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 3 0
      arch/x86/Kconfig
  2. 1 1
      lib/Kconfig.debug

+ 3 - 0
arch/x86/Kconfig

@@ -44,6 +44,9 @@ config LOCKDEP_SUPPORT
 config STACKTRACE_SUPPORT
 config STACKTRACE_SUPPORT
 	def_bool y
 	def_bool y
 
 
+config HAVE_LATENCYTOP_SUPPORT
+	def_bool y
+
 config SEMAPHORE_SLEEPERS
 config SEMAPHORE_SLEEPERS
 	def_bool y
 	def_bool y
 
 

+ 1 - 1
lib/Kconfig.debug

@@ -581,7 +581,7 @@ config LATENCYTOP
 	select STACKTRACE
 	select STACKTRACE
 	select SCHEDSTATS
 	select SCHEDSTATS
 	select SCHED_DEBUG
 	select SCHED_DEBUG
-	depends on X86 || X86_64
+	depends on HAVE_LATENCYTOP_SUPPORT
 	help
 	help
 	  Enable this option if you want to use the LatencyTOP tool
 	  Enable this option if you want to use the LatencyTOP tool
 	  to find out which userspace is blocking on what kernel operations.
 	  to find out which userspace is blocking on what kernel operations.