Skip to contentSkip to conversation

latencytop: fix kconfig dependency warnings

PATCH Superseded Randy Dunlap 1 participant 2 messages Aug 12, 2010 – Aug 17, 2010

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 latencytop: fix kconfig dependency warnings

From: Randy Dunlap <[email protected]>

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.

Cc Arjan van de Ven <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 lib/Kconfig.debug |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
lib/Kconfig.debug +4 -1
@@ -1004,13 +1004,16 @@ 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
 	select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE
 	select KALLSYMS
 	select KALLSYMS_ALL
 	select STACKTRACE
 	select SCHEDSTATS
 	select SCHED_DEBUG
-	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.
#1 lore raw

[tip:perf/urgent] latencytop: Fix kconfig dependency warnings

Commit-ID:  625fdcaa6d2a3db6a922bbd833450424e906111c
Gitweb:     http://git.kernel.org/tip/625fdcaa6d2a3db6a922bbd833450424e906111c
Author:     Randy Dunlap <[email protected]>
AuthorDate: Thu, 12 Aug 2010 12:31:21 -0700
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 17 Aug 2010 09:09:03 +0200

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.

Cc Arjan van de Ven <[email protected]>

LKML-Reference: <[email protected]>

---
 lib/Kconfig.debug |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
lib/Kconfig.debug +4 -1
index 9e06b7f..1b4afd2 100644
@@ -994,13 +994,16 @@ 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
 	select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE
 	select KALLSYMS
 	select KALLSYMS_ALL
 	select STACKTRACE
 	select SCHEDSTATS
 	select SCHED_DEBUG
-	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.