linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] include CONFIG_STACK_TRACER in boot warning about debug options
@ 2009-03-30  7:13 Uwe Kleine-König
  0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2009-03-30  7:13 UTC (permalink / raw)
  To: linux-rt-users, linux-kernel, Ingo Molnar, Thomas Gleixner

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@pengutronix.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-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-30  7:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30  7:13 [PATCH] include CONFIG_STACK_TRACER in boot warning about debug options Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).