* [PATCH 1/1] tracer: fix printout
@ 2008-06-12 9:27 Jiri Slaby
2008-06-12 9:51 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2008-06-12 9:27 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Jiri Slaby, Steven Rostedt, Ingo Molnar
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>
Cc: Ingo Molnar <mingo@redhat.com>
---
kernel/trace/trace.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index a864dd2..d70c567 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -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();
--
1.5.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] tracer: fix printout
2008-06-12 9:27 [PATCH 1/1] tracer: fix printout Jiri Slaby
@ 2008-06-12 9:51 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-06-12 9:51 UTC (permalink / raw)
To: Jiri Slaby; +Cc: Andrew Morton, linux-kernel, Steven Rostedt, Ingo Molnar
* Jiri Slaby <jirislaby@gmail.com> wrote:
> Do not print loglevel before "entries of %ld bytes". Move it to the
> previous pr_info.
applied to tip/tracing/ftrace - thanks Jiri.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-12 9:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 9:27 [PATCH 1/1] tracer: fix printout Jiri Slaby
2008-06-12 9:51 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox