]> err.no Git - linux-2.6/commitdiff
ftrace: fix printout
authorJiri Slaby <jirislaby@gmail.com>
Thu, 12 Jun 2008 09:27:03 +0000 (11:27 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Jun 2008 09:51:03 +0000 (11:51 +0200)
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>
kernel/trace/trace.c

index dde6f0ace6dc7a9be77e16783ac3bbf9e72d21ff..6e9dae7eb418d67bf549c1c699101a4058b0384f 100644 (file)
@@ -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();