Debugging Infinite Loop

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue Mar 22 17:05:56 EDT 2011


On Wed, Mar 23, 2011 at 03:49, Dev Null <devnullfin at gmail.com> wrote:
> Hi,
>
> I have an infinite loop in my huge application/kernel module i.e. either in
> kernel or application that boost up CPU utilization to 100%. I have an
> application that reads multicast UDP packet, process it and send it to the
> peripheral device on PCI interface.

my guess: either you don't yield yourself at certain amount of data,
or you simply forgot to enable the interrupt again when you previously
disable it... thus disallowing practically anything to interrupt your
way...

> I need to know the best approach or tool to debug the infinite loop.

maybe oprofile...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list