All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tracing: annotate emit_log_char() notrace
@ 2009-05-27 15:00 Thomas Gleixner
  2009-05-28 14:16 ` Frederic Weisbecker
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Gleixner @ 2009-05-27 15:00 UTC (permalink / raw)
  To: LKML; +Cc: Steven Rostedt, Frederic Weisbecker

printk calls emit_log_char() in a loop which is cluttering the trace
buffer. Make it notrace.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 kernel/printk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-tip/kernel/printk.c
===================================================================
--- linux-2.6-tip.orig/kernel/printk.c
+++ linux-2.6-tip/kernel/printk.c
@@ -499,7 +499,7 @@ static void call_console_drivers(unsigne
 	_call_console_drivers(start_print, end, msg_level);
 }
 
-static void emit_log_char(char c)
+static void notrace emit_log_char(char c)
 {
 	LOG_BUF(log_end) = c;
 	log_end++;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-28 19:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 15:00 [PATCH] tracing: annotate emit_log_char() notrace Thomas Gleixner
2009-05-28 14:16 ` Frederic Weisbecker
2009-05-28 14:52   ` Thomas Gleixner
2009-05-28 15:04     ` Steven Rostedt
2009-05-28 15:42       ` Thomas Gleixner
2009-05-28 19:23         ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.