aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/boot.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-12 06:43:05 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-12 06:43:05 -0500
commit81444a799550214f549caf579cf65a0ca55e70b7 (patch)
tree3288dac0740be2e1e7d1af4ee51d792a6e91edf3 /include/trace/boot.h
parenta64d31baed104be25305e9c71585d3ea4ee9a418 (diff)
parentda485e0cb16726797e99a595a399b9fc721b91bc (diff)
Merge branch 'tracing/fastboot' into cpus4096
Diffstat (limited to 'include/trace/boot.h')
-rw-r--r--include/trace/boot.h8
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 */
10struct boot_trace_call { 14struct 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 */
19struct boot_trace_ret { 23struct 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};