[PATCH] include CONFIG_STACK_TRACER in boot warning about debug options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux