aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/boot.h8
-rw-r--r--include/trace/sched.h4
2 files changed, 8 insertions, 4 deletions
diff --git a/include/trace/boot.h b/include/trace/boot.h
index 6b54537eab02..088ea089e31d 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};
diff --git a/include/trace/sched.h b/include/trace/sched.h
index 9b2854abf7e2..f4549d506b16 100644
--- a/include/trace/sched.h
+++ b/include/trace/sched.h
@@ -30,8 +30,8 @@ DECLARE_TRACE(sched_switch,
30 TPARGS(rq, prev, next)); 30 TPARGS(rq, prev, next));
31 31
32DECLARE_TRACE(sched_migrate_task, 32DECLARE_TRACE(sched_migrate_task,
33 TPPROTO(struct rq *rq, struct task_struct *p, int dest_cpu), 33 TPPROTO(struct task_struct *p, int orig_cpu, int dest_cpu),
34 TPARGS(rq, p, dest_cpu)); 34 TPARGS(p, orig_cpu, dest_cpu));
35 35
36DECLARE_TRACE(sched_process_free, 36DECLARE_TRACE(sched_process_free,
37 TPPROTO(struct task_struct *p), 37 TPPROTO(struct task_struct *p),