tracer: fix printout
PATCH 1/1 tracer: fix printout
Do not print loglevel before "entries of %ld bytes". Move it to the previous pr_info.
Signed-off-by Jiri Slaby <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Ingo Molnar <[email protected]>
--- kernel/trace/trace.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
kernel/trace/trace.c +2 -3
@@ -3084,9 +3084,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 ();
Signature · 1 line
1.5.5.1
Ingo Molnar
AppliedQuoted 2 lines · Jiri Slaby
Do not print loglevel before "entries of %ld bytes". Move it to the previous
pr_info.
applied to tip/tracing/ftrace - thanks Jiri.
Ingo