diff options
author | Arjan van de Ven <arjan@infradead.org> | 2008-10-04 16:42:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:39:23 -0400 |
commit | 8a5d900cca57115326bc5b9e7f3bac980986c2c8 (patch) | |
tree | 611e10bab4f03beb61baac8f0868aad665e85c46 /kernel/trace/trace_boot.c | |
parent | c2931e05ec5965597cbfb79ad332d4a29aeceb23 (diff) |
tracing/fastboot: fix printk format typo in boot tracer
When printing nanoseconds, the right printk format string is %09 not %06...
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Frédéric Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_boot.c')
-rw-r--r-- | kernel/trace/trace_boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_boot.c b/kernel/trace/trace_boot.c index a7efe3559654..d0a5e50eeff2 100644 --- a/kernel/trace/trace_boot.c +++ b/kernel/trace/trace_boot.c | |||
@@ -62,14 +62,14 @@ static enum print_line_t initcall_print_line(struct trace_iterator *iter) | |||
62 | struct timespec rettime = ktime_to_timespec(it->rettime); | 62 | struct timespec rettime = ktime_to_timespec(it->rettime); |
63 | 63 | ||
64 | if (entry->type == TRACE_BOOT) { | 64 | if (entry->type == TRACE_BOOT) { |
65 | ret = trace_seq_printf(s, "[%5ld.%06ld] calling %s @ %i\n", | 65 | ret = trace_seq_printf(s, "[%5ld.%09ld] calling %s @ %i\n", |
66 | calltime.tv_sec, | 66 | calltime.tv_sec, |
67 | calltime.tv_nsec, | 67 | calltime.tv_nsec, |
68 | it->func, it->caller); | 68 | it->func, it->caller); |
69 | if (!ret) | 69 | if (!ret) |
70 | return TRACE_TYPE_PARTIAL_LINE; | 70 | return TRACE_TYPE_PARTIAL_LINE; |
71 | 71 | ||
72 | ret = trace_seq_printf(s, "[%5ld.%06ld] initcall %s " | 72 | ret = trace_seq_printf(s, "[%5ld.%09ld] initcall %s " |
73 | "returned %d after %lld msecs\n", | 73 | "returned %d after %lld msecs\n", |
74 | rettime.tv_sec, | 74 | rettime.tv_sec, |
75 | rettime.tv_nsec, | 75 | rettime.tv_nsec, |