Re: Debugging Infinite Loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 23, 2011 at 03:49, Dev Null <devnullfin@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux