Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 625fdcaa authored by Randy Dunlap's avatar Randy Dunlap Committed by Ingo Molnar
Browse files

latencytop: Fix kconfig dependency warnings



warning: (LATENCYTOP && HAVE_LATENCYTOP_SUPPORT) selects
SCHED_DEBUG which has unmet direct dependencies (DEBUG_KERNEL &&
PROC_FS) warning: (LATENCYTOP && HAVE_LATENCYTOP_SUPPORT) selects
SCHEDSTATS which has unmet direct dependencies (DEBUG_KERNEL && PROC_FS)

Add depends on STACKTRACE_SUPPORT for 'select STACKTRACE'.
Add depends on PROC_FS since that is where the output goes.

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
LKML-Reference: <20100812123121.a7c99cde.randy.dunlap@oracle.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f24645a9
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -994,13 +994,16 @@ config FAULT_INJECTION_STACKTRACE_FILTER


config LATENCYTOP
config LATENCYTOP
	bool "Latency measuring infrastructure"
	bool "Latency measuring infrastructure"
	depends on HAVE_LATENCYTOP_SUPPORT
	depends on DEBUG_KERNEL
	depends on STACKTRACE_SUPPORT
	depends on PROC_FS
	select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE
	select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE
	select KALLSYMS
	select KALLSYMS
	select KALLSYMS_ALL
	select KALLSYMS_ALL
	select STACKTRACE
	select STACKTRACE
	select SCHEDSTATS
	select SCHEDSTATS
	select SCHED_DEBUG
	select SCHED_DEBUG
	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.