diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-08-12 15:31:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-08-17 03:09:03 -0400 |
commit | 625fdcaa6d2a3db6a922bbd833450424e906111c (patch) | |
tree | 187a6b40d5cb40e082449f0810b89d5b5a96180c | |
parent | f24645a991e6758a4544ed7667cf919fea328a95 (diff) |
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: Randy 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: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | lib/Kconfig.debug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 9e06b7f5ecf1..1b4afd2e6ca0 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -994,13 +994,16 @@ config FAULT_INJECTION_STACKTRACE_FILTER | |||
994 | 994 | ||
995 | config LATENCYTOP | 995 | config LATENCYTOP |
996 | bool "Latency measuring infrastructure" | 996 | bool "Latency measuring infrastructure" |
997 | depends on HAVE_LATENCYTOP_SUPPORT | ||
998 | depends on DEBUG_KERNEL | ||
999 | depends on STACKTRACE_SUPPORT | ||
1000 | depends on PROC_FS | ||
997 | select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE | 1001 | select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE |
998 | select KALLSYMS | 1002 | select KALLSYMS |
999 | select KALLSYMS_ALL | 1003 | select KALLSYMS_ALL |
1000 | select STACKTRACE | 1004 | select STACKTRACE |
1001 | select SCHEDSTATS | 1005 | select SCHEDSTATS |
1002 | select SCHED_DEBUG | 1006 | select SCHED_DEBUG |
1003 | depends on HAVE_LATENCYTOP_SUPPORT | ||
1004 | help | 1007 | help |
1005 | Enable this option if you want to use the LatencyTOP tool | 1008 | Enable this option if you want to use the LatencyTOP tool |
1006 | to find out which userspace is blocking on what kernel operations. | 1009 | to find out which userspace is blocking on what kernel operations. |