Skip to content

Commit

Permalink
latencytop: Change Kconfig dependency.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Holger Wolf <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
heicarst authored and Ingo Molnar committed Feb 1, 2008
1 parent cd68998 commit aa7d935
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit aa7d935

Please sign in to comment.