How to traverse kernel threads?

Benjamin Kaduk bjk at freebsd.org
Sun Mar 22 20:51:04 UTC 2015


On Sat, 21 Mar 2015, Mateusz Guzik wrote:

> But once more the real question is what are you trying to do. I don't
> see any use for stack info of random threads.

One thing that comes to mind is for live binary-patching the kernel, to
confirm that no thread is currently in a routine which would be patched.

-Ben


More information about the freebsd-hackers mailing list