diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-18 13:07:39 -0400 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2017-05-26 17:12:38 -0400 |
| commit | 13113c878cbcfdedcf339a20d85c473011937dff (patch) | |
| tree | 48d4a076a66edac6034d416b65e4f59dd667c220 /include/linux/hrtimer.h | |
| parent | 81129a9d240efb1030e3e68784480dbbd95e5fff (diff) | |
Hook into hrtimer to report large latencies
Diffstat (limited to 'include/linux/hrtimer.h')
| -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 5e00f80b1535..720063df0ac0 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h | |||
| @@ -109,6 +109,9 @@ struct hrtimer { | |||
| 109 | void *start_site; | 109 | void *start_site; |
| 110 | char start_comm[16]; | 110 | char start_comm[16]; |
| 111 | #endif | 111 | #endif |
| 112 | #ifdef CONFIG_REPORT_TIMER_LATENCY | ||
| 113 | ktime_t when_added; | ||
| 114 | #endif | ||
| 112 | }; | 115 | }; |
| 113 | 116 | ||
| 114 | /** | 117 | /** |
