Printing useful info on watchdog expiry
Hello,
I have had a problem where watchdog timer is expiring on my embedded system board - but I am not able to figure out why my process is not able to strobe (kick) the watchdog in time. It looks like there is some process occupying the CPU.
Whenever the watchdog expires, is there any useful info that I can print to figure out who the culprit is?
The watchdog expiry routine where I need to plug in the routine to capture useful info is in the kernel space. So, I cannot use something like "top" which is a user space command. Can you please suggest the kernel space equivalent of this? And also, how to print info for certain processes at a thread level?
If possible, can you please share some code for something that is already done in this space?
|