diff options
Diffstat (limited to 'include/trace/boot.h')
-rw-r--r-- | include/trace/boot.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/trace/boot.h b/include/trace/boot.h index 6b54537eab0..088ea089e31 100644 --- a/include/trace/boot.h +++ b/include/trace/boot.h | |||
@@ -1,6 +1,10 @@ | |||
1 | #ifndef _LINUX_TRACE_BOOT_H | 1 | #ifndef _LINUX_TRACE_BOOT_H |
2 | #define _LINUX_TRACE_BOOT_H | 2 | #define _LINUX_TRACE_BOOT_H |
3 | 3 | ||
4 | #include <linux/module.h> | ||
5 | #include <linux/kallsyms.h> | ||
6 | #include <linux/init.h> | ||
7 | |||
4 | /* | 8 | /* |
5 | * Structure which defines the trace of an initcall | 9 | * Structure which defines the trace of an initcall |
6 | * while it is called. | 10 | * while it is called. |
@@ -9,7 +13,7 @@ | |||
9 | */ | 13 | */ |
10 | struct boot_trace_call { | 14 | struct boot_trace_call { |
11 | pid_t caller; | 15 | pid_t caller; |
12 | char func[KSYM_NAME_LEN]; | 16 | char func[KSYM_SYMBOL_LEN]; |
13 | }; | 17 | }; |
14 | 18 | ||
15 | /* | 19 | /* |
@@ -17,7 +21,7 @@ struct boot_trace_call { | |||
17 | * while it returns. | 21 | * while it returns. |
18 | */ | 22 | */ |
19 | struct boot_trace_ret { | 23 | struct boot_trace_ret { |
20 | char func[KSYM_NAME_LEN]; | 24 | char func[KSYM_SYMBOL_LEN]; |
21 | int result; | 25 | int result; |
22 | unsigned long long duration; /* nsecs */ | 26 | unsigned long long duration; /* nsecs */ |
23 | }; | 27 | }; |