Commit 8a5d900c authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Ingo Molnar

tracing/fastboot: fix printk format typo in boot tracer

When printing nanoseconds, the right printk format string is %09 not %06...
Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Acked-by: default avatarFrédéric Weisbecker <fweisbec@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c2931e05
...@@ -62,14 +62,14 @@ static enum print_line_t initcall_print_line(struct trace_iterator *iter) ...@@ -62,14 +62,14 @@ static enum print_line_t initcall_print_line(struct trace_iterator *iter)
struct timespec rettime = ktime_to_timespec(it->rettime); struct timespec rettime = ktime_to_timespec(it->rettime);
if (entry->type == TRACE_BOOT) { if (entry->type == TRACE_BOOT) {
ret = trace_seq_printf(s, "[%5ld.%06ld] calling %s @ %i\n", ret = trace_seq_printf(s, "[%5ld.%09ld] calling %s @ %i\n",
calltime.tv_sec, calltime.tv_sec,
calltime.tv_nsec, calltime.tv_nsec,
it->func, it->caller); it->func, it->caller);
if (!ret) if (!ret)
return TRACE_TYPE_PARTIAL_LINE; return TRACE_TYPE_PARTIAL_LINE;
ret = trace_seq_printf(s, "[%5ld.%06ld] initcall %s " ret = trace_seq_printf(s, "[%5ld.%09ld] initcall %s "
"returned %d after %lld msecs\n", "returned %d after %lld msecs\n",
rettime.tv_sec, rettime.tv_sec,
rettime.tv_nsec, rettime.tv_nsec,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment