aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-06-12 05:27:03 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-12 05:51:03 -0400
commit20764ff1efb440640353053ec83263e69e1259e0 (patch)
tree090e4e3144ad2b06ecaf736f83383a4b65e34b5e
parent2b1bce1787700768cbc87c8509851c6f49d252dc (diff)
ftrace: fix printout
Do not print loglevel before "entries of %ld bytes". Move it to the previous pr_info. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/trace/trace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index dde6f0ace6dc..6e9dae7eb418 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -3051,9 +3051,8 @@ __init static int tracer_alloc_buffers(void)
3051 } 3051 }
3052 max_tr.entries = global_trace.entries; 3052 max_tr.entries = global_trace.entries;
3053 3053
3054 pr_info("tracer: %d pages allocated for %ld", 3054 pr_info("tracer: %d pages allocated for %ld entries of %ld bytes\n",
3055 pages, trace_nr_entries); 3055 pages, trace_nr_entries, (long)TRACE_ENTRY_SIZE);
3056 pr_info(" entries of %ld bytes\n", (long)TRACE_ENTRY_SIZE);
3057 pr_info(" actual entries %ld\n", global_trace.entries); 3056 pr_info(" actual entries %ld\n", global_trace.entries);
3058 3057
3059 tracer_init_debugfs(); 3058 tracer_init_debugfs();