diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 54648e625efdff605b043a3aa766be7c2c3581ee..4759917adc71ae371da1cc3a45d46b22a55d4015 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -448,7 +448,7 @@ extern void timer_stats_update_stats(void *timer, pid_t pid, void *startf, static inline void timer_stats_account_hrtimer(struct hrtimer *timer) { - if (likely(!timer->start_pid)) + if (likely(!timer->start_site)) return; timer_stats_update_stats(timer, timer->start_pid, timer->start_site, timer->function, timer->start_comm, 0);