[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1238397180-26913-1-git-send-email-u.kleine-koenig@pengutronix.de>
Date: Mon, 30 Mar 2009 09:13:00 +0200
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: linux-rt-users@...r.kernel.org, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH] include CONFIG_STACK_TRACER in boot warning about debug options
CONFIG_STACK_TRACER=y contributes to DEBUG_COUNT, but it was not
included in the list. This resulted in the following snipplet in my kernel
log:
[ 16.170275] *****************************************************************************
[ 16.178530] * *
[ 16.186782] * REMINDER, the following debugging option is turned on in your .config: *
[ 16.195033] * *
[ 16.203288] * *
[ 16.211535] * it may increase runtime overhead and latencies. *
[ 16.219777] * *
[ 16.228026] *****************************************************************************
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
---
Hello,
this patch applies on top of
realtime: preempt warn about tracing
in the latest preempt-rt patch set.
Best regards
Uwe
init/main.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/init/main.c b/init/main.c
index 661cc0f..1e27ac5 100644
--- a/init/main.c
+++ b/init/main.c
@@ -924,8 +924,8 @@ static int __init kernel_init(void * unused)
#ifdef CONFIG_PREEMPT_TRACER
printk(KERN_ERR "* CONFIG_PREEMPT_TRACER *\n");
#endif
-#ifdef CONFIG_FTRACE
- printk(KERN_ERR "* CONFIG_FTRACE *\n");
+#ifdef CONFIG_STACK_TRACER
+ printk(KERN_ERR "* CONFIG_STACK_TRACER *\n");
#endif
#ifdef CONFIG_WAKEUP_LATENCY_HIST
printk(KERN_ERR "* CONFIG_WAKEUP_LATENCY_HIST *\n");
@@ -939,6 +939,9 @@ static int __init kernel_init(void * unused)
#ifdef CONFIG_LOCKDEP
printk(KERN_ERR "* CONFIG_LOCKDEP *\n");
#endif
+#ifdef CONFIG_FTRACE
+ printk(KERN_ERR "* CONFIG_FTRACE *\n");
+#endif
printk(KERN_ERR "* *\n");
#if DEBUG_COUNT == 1
printk(KERN_ERR "* it may increase runtime overhead and latencies. *\n");
--
1.6.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists