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 @@ #ifndef _LINUX_TRACE_BOOT_H #define _LINUX_TRACE_BOOT_H +#include <linux/module.h> +#include <linux/kallsyms.h> +#include <linux/init.h> + /* * Structure which defines the trace of an initcall * while it is called. @@ -9,7 +13,7 @@ */ struct boot_trace_call { pid_t caller; - char func[KSYM_NAME_LEN]; + char func[KSYM_SYMBOL_LEN]; }; /* @@ -17,7 +21,7 @@ struct boot_trace_call { * while it returns. */ struct boot_trace_ret { - char func[KSYM_NAME_LEN]; + char func[KSYM_SYMBOL_LEN]; int result; unsigned long long duration; /* nsecs */ }; |