Skip to content

Commit

Permalink
ftrace: fix printout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Ingo Molnar committed Jun 12, 2008
1 parent 2b1bce1 commit 20764ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 20764ff

Please sign in to comment.