* Debugging Infinite Loop
@ 2011-03-22 20:49 Dev Null
2011-03-22 21:05 ` Mulyadi Santosa
0 siblings, 1 reply; 2+ messages in thread
From: Dev Null @ 2011-03-22 20:49 UTC (permalink / raw)
To: kernelnewbies
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.
I need to know the best approach or tool to debug the infinite loop.
Thanks,
Dev Null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110322/47e5aabd/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Debugging Infinite Loop
2011-03-22 20:49 Debugging Infinite Loop Dev Null
@ 2011-03-22 21:05 ` Mulyadi Santosa
0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2011-03-22 21:05 UTC (permalink / raw)
To: kernelnewbies
On Wed, Mar 23, 2011 at 03:49, Dev Null <devnullfin@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-22 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-22 20:49 Debugging Infinite Loop Dev Null
2011-03-22 21:05 ` Mulyadi Santosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).