Skip to content

Commit

Permalink
Kconfig: remove HAVE_LATENCYTOP_SUPPORT
Browse files Browse the repository at this point in the history
As illustrated by commit a3afe70 ("[S390] latencytop s390
support."), HAVE_LATENCYTOP_SUPPORT is defined by an architecture to
advertise an implementation of save_stack_trace_tsk.

However, as of 9212ddb ("stacktrace: provide save_stack_trace_tsk()
weak alias") a dummy implementation is provided if STACKTRACE=y.  Given
that LATENCYTOP already depends on STACKTRACE_SUPPORT and selects
STACKTRACE, we can remove HAVE_LATENCYTOP_SUPPORT altogether.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Helge Deller <deller@gmx.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Will Deacon authored and Linus Torvalds committed Jan 16, 2016
1 parent 3f1bfd9 commit da48d09
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 37 deletions.
3 changes: 0 additions & 3 deletions arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ config STACKTRACE_SUPPORT
def_bool y
select STACKTRACE

config HAVE_LATENCYTOP_SUPPORT
def_bool y

config HAVE_ARCH_TRANSPARENT_HUGEPAGE
def_bool y
depends on ARC_MMU_V4
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ config STACKTRACE_SUPPORT
bool
default y

config HAVE_LATENCYTOP_SUPPORT
bool
depends on !SMP
default y

config LOCKDEP_SUPPORT
bool
default y
Expand Down
3 changes: 0 additions & 3 deletions arch/metag/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ config STACKTRACE_SUPPORT
config LOCKDEP_SUPPORT
def_bool y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

config RWSEM_GENERIC_SPINLOCK
def_bool y

Expand Down
3 changes: 0 additions & 3 deletions arch/microblaze/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ config STACKTRACE_SUPPORT
config LOCKDEP_SUPPORT
def_bool y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

source "init/Kconfig"

source "kernel/Kconfig.freezer"
Expand Down
3 changes: 0 additions & 3 deletions arch/parisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ config TIME_LOW_RES
depends on SMP
default y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

# unless you want to implement ACPI on PA-RISC ... ;-)
config PM
bool
Expand Down
3 changes: 0 additions & 3 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ config STACKTRACE_SUPPORT
bool
default y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

config TRACE_IRQFLAGS_SUPPORT
bool
default y
Expand Down
3 changes: 0 additions & 3 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ config LOCKDEP_SUPPORT
config STACKTRACE_SUPPORT
def_bool y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

config RWSEM_GENERIC_SPINLOCK
bool

Expand Down
3 changes: 0 additions & 3 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ config STACKTRACE_SUPPORT
config LOCKDEP_SUPPORT
def_bool y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

config ARCH_HAS_ILOG2_U32
def_bool n

Expand Down
4 changes: 0 additions & 4 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ config LOCKDEP_SUPPORT
bool
default y if SPARC64

config HAVE_LATENCYTOP_SUPPORT
bool
default y if SPARC64

config ARCH_HIBERNATION_POSSIBLE
def_bool y if SPARC64

Expand Down
3 changes: 0 additions & 3 deletions arch/unicore32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ config NO_IOPORT_MAP
config STACKTRACE_SUPPORT
def_bool y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

config LOCKDEP_SUPPORT
def_bool y

Expand Down
3 changes: 0 additions & 3 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ config LOCKDEP_SUPPORT
config STACKTRACE_SUPPORT
def_bool y

config HAVE_LATENCYTOP_SUPPORT
def_bool y

config MMU
def_bool y

Expand Down
1 change: 0 additions & 1 deletion lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,6 @@ config FAULT_INJECTION_STACKTRACE_FILTER

config LATENCYTOP
bool "Latency measuring infrastructure"
depends on HAVE_LATENCYTOP_SUPPORT
depends on DEBUG_KERNEL
depends on STACKTRACE_SUPPORT
depends on PROC_FS
Expand Down

0 comments on commit da48d09

Please sign in to comment.