aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2016-03-18 13:07:39 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2016-03-20 14:30:30 -0400
commite9b22ab48acccba501490f05a367647fcb9902c2 (patch)
tree6f3ad6a2434730b1fc18a14db019ee53369b74f0 /include/linux
parent8d35f992ca1e538bac1b5ff6a48297d369641671 (diff)
Hook into hrtimer to report large latencies
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hrtimer.h3
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/**