summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-06-12 11:27:03 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-12 11:51:03 +0200
commit20764ff1efb440640353053ec83263e69e1259e0 (patch)
tree090e4e3144ad2b06ecaf736f83383a4b65e34b5e /kernel/trace/trace.c
parentftrace: disable tracing when current_tracer is set to "none" (diff)
downloadlinux-20764ff1efb440640353053ec83263e69e1259e0.tar.xz
linux-20764ff1efb440640353053ec83263e69e1259e0.zip
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>
Diffstat (limited to '')
-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)
}
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();