From e9b22ab48acccba501490f05a367647fcb9902c2 Mon Sep 17 00:00:00 2001 From: Bjoern Brandenburg Date: Fri, 18 Mar 2016 18:07:39 +0100 Subject: Hook into hrtimer to report large latencies --- include/linux/hrtimer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux/hrtimer.h') 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 { void *start_site; char start_comm[16]; #endif +#ifdef CONFIG_REPORT_TIMER_LATENCY + ktime_t when_added; +#endif }; /** -- cgit v1.2.2