hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/kernel/time/tick-sched.h
....@@ -49,6 +49,8 @@
4949 * @timer_expires_base: Base time clock monotonic for @timer_expires
5050 * @next_timer: Expiry time of next expiring timer for debugging purpose only
5151 * @tick_dep_mask: Tick dependency mask - is set, if someone needs the tick
52
+ * @last_tick_jiffies: Value of jiffies seen on last tick
53
+ * @stalled_jiffies: Number of stalled jiffies detected across ticks
5254 */
5355 struct tick_sched {
5456 struct hrtimer sched_timer;
....@@ -77,6 +79,8 @@
7779 u64 next_timer;
7880 ktime_t idle_expires;
7981 atomic_t tick_dep_mask;
82
+ unsigned long last_tick_jiffies;
83
+ unsigned int stalled_jiffies;
8084 };
8185
8286 extern struct tick_sched *tick_get_tick_sched(int cpu);