check pending callouts

Ryan Stone rysto32 at gmail.com
Sat Jul 28 18:44:38 UTC 2012


On Sat, Jul 28, 2012 at 2:15 AM, Jason Hellenthal
<jhellenthal at dataix.net> wrote:
> You should be able to dtrace that out and uncover whats going on with a
> little intellect.
>
> The D language itself might take a little learning but it would be worth
> your while to pick it up now instead of later.

Actually, D isn't a great language for this type of thing because it
lacks the able to loop.  At dtrace.conf in April they discussed adding
restricted iteration of some kind, but it sounds like it's a long way
out right now.

It is possible to attach kgdb to /dev/mem to do live analysis of a
running kernel.  Of course with callouts this may not work out so well
because the callout wheel will be constantly changing out from under
kgdb.


More information about the freebsd-net mailing list