diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-02-01 11:45:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-01 11:45:14 -0500 |
commit | aa7d93506cc26378be6964692cd0dd34cffaee25 (patch) | |
tree | 544226ea9f621d5196d6b2e12fd57bbdbf2d4883 | |
parent | cd689985cf49f6ff5c8eddc48d98b9d581d9475d (diff) |
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>
-rw-r--r-- | arch/x86/Kconfig | 3 | ||||
-rw-r--r-- | lib/Kconfig.debug | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 65b449134cf7..93e66678e158 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -44,6 +44,9 @@ config LOCKDEP_SUPPORT | |||
44 | config STACKTRACE_SUPPORT | 44 | config STACKTRACE_SUPPORT |
45 | def_bool y | 45 | def_bool y |
46 | 46 | ||
47 | config HAVE_LATENCYTOP_SUPPORT | ||
48 | def_bool y | ||
49 | |||
47 | config SEMAPHORE_SLEEPERS | 50 | config SEMAPHORE_SLEEPERS |
48 | def_bool y | 51 | def_bool y |
49 | 52 | ||
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 89f4035b526c..0d8a5a4a789d 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -581,7 +581,7 @@ config LATENCYTOP | |||
581 | select STACKTRACE | 581 | select STACKTRACE |
582 | select SCHEDSTATS | 582 | select SCHEDSTATS |
583 | select SCHED_DEBUG | 583 | select SCHED_DEBUG |
584 | depends on X86 || X86_64 | 584 | depends on HAVE_LATENCYTOP_SUPPORT |
585 | help | 585 | help |
586 | Enable this option if you want to use the LatencyTOP tool | 586 | Enable this option if you want to use the LatencyTOP tool |
587 | to find out which userspace is blocking on what kernel operations. | 587 | to find out which userspace is blocking on what kernel operations. |