diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-18 13:07:39 -0400 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-20 14:30:30 -0400 |
| commit | e9b22ab48acccba501490f05a367647fcb9902c2 (patch) | |
| tree | 6f3ad6a2434730b1fc18a14db019ee53369b74f0 /include/linux | |
| parent | 8d35f992ca1e538bac1b5ff6a48297d369641671 (diff) | |
Hook into hrtimer to report large latencies
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hrtimer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 05f6df1fdf5b..8b4b87bf73fd 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h | |||
| @@ -116,6 +116,9 @@ struct hrtimer { | |||
| 116 | void *start_site; | 116 | void *start_site; |
| 117 | char start_comm[16]; | 117 | char start_comm[16]; |
| 118 | #endif | 118 | #endif |
| 119 | #ifdef CONFIG_REPORT_TIMER_LATENCY | ||
| 120 | ktime_t when_added; | ||
| 121 | #endif | ||
| 119 | }; | 122 | }; |
| 120 | 123 | ||
| 121 | /** | 124 | /** |
