Skip to contentSkip to conversation

tracer: fix printout

PATCH Applied Jiri Slaby 2 participants 2 messages Jun 12, 2008 Tracing

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/1 tracer: fix printout

Do not print loglevel before "entries of %ld bytes". Move it to the previous pr_info.

Cc Steven Rostedt <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 kernel/trace/trace.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
kernel/trace/trace.c +2 -3
index a864dd2..d70c567 100644
@@ -3084,9 +3084,8 @@ __init static int tracer_alloc_buffers(void)
 	}
 	max_tr.entries = global_trace.entries;
 
-	pr_info("tracer: %d pages allocated for %ld",
-		pages, trace_nr_entries);
-	pr_info(" entries of %ld bytes\n", (long)TRACE_ENTRY_SIZE);
+	pr_info("tracer: %d pages allocated for %ld entries of %ld bytes\n",
+		pages, trace_nr_entries, (long)TRACE_ENTRY_SIZE);
 	pr_info("   actual entries %ld\n", global_trace.entries);
 
 	tracer_init_debugfs();
Signature · 1 line
1.5.5.1
Applied
#1 lore raw
Quoted 2 lines · Jiri Slaby

Do not print loglevel before "entries of %ld bytes". Move it to the previous pr_info.

applied to tip/tracing/ftrace - thanks Jiri.

Ingo