diff options
Diffstat (limited to 'include/litmus/trace.h')
-rw-r--r-- | include/litmus/trace.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index 8ad4966c602e..15bd645d2466 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
@@ -137,9 +137,34 @@ feather_callback void save_timestamp_hide_irq(unsigned long event); | |||
137 | #define TS_EXIT_NP_START TIMESTAMP(150) | 137 | #define TS_EXIT_NP_START TIMESTAMP(150) |
138 | #define TS_EXIT_NP_END TIMESTAMP(151) | 138 | #define TS_EXIT_NP_END TIMESTAMP(151) |
139 | 139 | ||
140 | #ifdef CONFIG_LITMUS_DGL_SUPPORT | ||
141 | #define TS_DGL_LOCK_START TIMESTAMP(175) | ||
142 | #define TS_DGL_LOCK_SUSPEND TIMESTAMP(176) | ||
143 | #define TS_DGL_LOCK_RESUME TIMESTAMP(177) | ||
144 | #define TS_DGL_LOCK_END TIMESTAMP(178) | ||
145 | #define TS_DGL_UNLOCK_START TIMESTAMP(185) | ||
146 | #define TS_DGL_UNLOCK_END TIMESTAMP(186) | ||
147 | #endif | ||
148 | |||
140 | #define TS_SEND_RESCHED_START(c) CTIMESTAMP(190, c) | 149 | #define TS_SEND_RESCHED_START(c) CTIMESTAMP(190, c) |
141 | #define TS_SEND_RESCHED_END TIMESTAMP_IN_IRQ(191) | 150 | #define TS_SEND_RESCHED_END TIMESTAMP_IN_IRQ(191) |
142 | 151 | ||
152 | #ifdef CONFIG_LITMUS_NVIDIA | ||
153 | #define TS_NV_TOPISR_START TIMESTAMP(200) | ||
154 | #define TS_NV_TOPISR_END TIMESTAMP(201) | ||
155 | |||
156 | #define TS_NV_BOTISR_START TIMESTAMP(202) | ||
157 | #define TS_NV_BOTISR_END TIMESTAMP(203) | ||
158 | |||
159 | #define TS_NV_RELEASE_BOTISR_START TIMESTAMP(204) | ||
160 | #define TS_NV_RELEASE_BOTISR_END TIMESTAMP(205) | ||
161 | #endif | ||
162 | |||
163 | #ifdef CONFIG_LITMUS_PAI_SOFTIRQD | ||
164 | #define TS_NV_SCHED_BOTISR_START TIMESTAMP(206) | ||
165 | #define TS_NV_SCHED_BOTISR_END TIMESTAMP(207) | ||
166 | #endif | ||
167 | |||
143 | #define TS_RELEASE_LATENCY(when) LTIMESTAMP(208, &(when)) | 168 | #define TS_RELEASE_LATENCY(when) LTIMESTAMP(208, &(when)) |
144 | 169 | ||
145 | #endif /* !_SYS_TRACE_H_ */ | 170 | #endif /* !_SYS_TRACE_H_ */ |