Reputation: 73
I am developing a driver in Linux kernel. I have a timer that periodically does some stuff. For example, every 40ms, the timer will be expired. But, when I look at the remaining time called by some arm function to retrieve time, the remaining time is not 40ms, but less than 1ms, e.g. 960us. I think this remaining time must be caused by some other timer tick which is every 1ms. How can I find pending timers in my kernel? I have tried timer_pending(), but I need to first know the name of the timer first.
Any suggestion is appreciated.
Upvotes: 2
Views: 1540