summaryrefslogtreecommitdiffstats
path: root/kernel/trace
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
parent2b1bce1787700768cbc87c8509851c6f49d252dc (diff)
downloadop-kernel-dev-20764ff1efb440640353053ec83263e69e1259e0.zip
op-kernel-dev-20764ff1efb440640353053ec83263e69e1259e0.tar.gz
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 'kernel/trace')
-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 dde6f0a..6e9dae7 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();
OpenPOWER on IntegriCloud