diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-01-20 11:09:15 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-01-20 11:09:15 -0500 |
commit | f5264e2cb8213dad425cb2d2db564edbc443a51a (patch) | |
tree | fe373a62364d0851cde0beed1bda846d11443fb1 /include | |
parent | 1a582a2c5e361e01a4c64f185bb1a23c3f70701a (diff) |
Fix bugs in tracing and PAI handling
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/sched_plugin.h | 2 | ||||
-rw-r--r-- | include/litmus/trace.h | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/litmus/sched_plugin.h b/include/litmus/sched_plugin.h index 3fc64f832fef..8fdf05dd7cd3 100644 --- a/include/litmus/sched_plugin.h +++ b/include/litmus/sched_plugin.h | |||
@@ -11,9 +11,7 @@ | |||
11 | #include <litmus/locking.h> | 11 | #include <litmus/locking.h> |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | #ifdef CONFIG_LITMUS_PAI_SOFTIRQD | ||
15 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
16 | #endif | ||
17 | 15 | ||
18 | /************************ setup/tear down ********************/ | 16 | /************************ setup/tear down ********************/ |
19 | 17 | ||
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index aa3ee4a6757b..09d409b60268 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
@@ -114,4 +114,10 @@ feather_callback void save_timestamp_cpu(unsigned long event, unsigned long cpu) | |||
114 | 114 | ||
115 | #endif | 115 | #endif |
116 | 116 | ||
117 | #ifdef CONFIG_LITMUS_PAI_SOFTIRQD | ||
118 | #define TS_NV_SCHED_BOTISR_START TIMESTAMP(206) | ||
119 | #define TS_NV_SCHED_BOTISR_END TIMESTAMP(207) | ||
120 | #endif | ||
121 | |||
122 | |||
117 | #endif /* !_SYS_TRACE_H_ */ | 123 | #endif /* !_SYS_TRACE_H_ */ |