diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-10-02 06:59:20 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:39:11 -0400 |
commit | cb5ab74204a6e2579d1119bf1348eb806526b12b (patch) | |
tree | 4810258d42e0370ec15cf424d5e3c6487fbd1781 /include | |
parent | 77ae11f63befb7fc41ec256f1fcb72ca7e4160d5 (diff) |
tracing/fastboot: change the printing of boot tracer according to bootgraph.pl
Change the boot tracer printing to make it parsable for
the scripts/bootgraph.pl script.
We have now to output two lines for each initcall, according to the
printk in do_one_initcall() in init/main.c
We need now the call's time and the return's time.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ftrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 91954eb6460f..4455490d91bd 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -216,6 +216,8 @@ struct boot_trace { | |||
216 | initcall_t func; | 216 | initcall_t func; |
217 | int result; | 217 | int result; |
218 | unsigned long long duration; | 218 | unsigned long long duration; |
219 | ktime_t calltime; | ||
220 | ktime_t rettime; | ||
219 | }; | 221 | }; |
220 | 222 | ||
221 | #ifdef CONFIG_BOOT_TRACER | 223 | #ifdef CONFIG_BOOT_TRACER |