lkml.org 
[lkml]   [2008]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] FTRACE_STARTUP_TEST should depend on FTRACE.
Date
Doesn't make sense to do an FTRACE startup test when FTRACE isn't
even being compiled in.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
kernel/trace/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 16e5bb5..1ee0400 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -152,6 +152,7 @@ config FTRACE_SELFTEST
config FTRACE_STARTUP_TEST
bool "Perform a startup test on ftrace"
depends on TRACING
+ depends on FTRACE
depends on DEBUG_KERNEL
select FTRACE_SELFTEST
help
--
1.6.0.1


\
 
 \ /
  Last update: 2008-09-15 02:05    [W:0.031 / U:12.772 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site