On Wed, Dec 12, 2007 at 12:52:46AM +0800, ???? TaoJie wrote:
> Dear Frank & Dear all:
> 
> Thank you.
> 
> I'm familiar with this pdf :-)
> But I'm not familiar with mdb :-(. And I'm lack of time to study it now.
> 
> I'm reading the opensolaris source code now, more precisly, studying the
> detail implementation of DTrace (dtrace cmd, libdtrace, kernel modules).
> Since I'm not familiar the implemention of solaris' kernel, it is a big
> challenge for me to string all the related procedures together.
> Currently, I want to know how a trap handler is installed and what the
> detail control flow is during handling the breakpoint.
> In a word, I am eager to
> 1, know, How is a trap handler installed/registered?
> 2, find out, The detail control flow (or say function flow) in the kernel
> (from triggering "int $3" to return back to the next instruction after "int
> $3")
> 3, know, Solaris' features when a running process is interrupted/trapped.
> e.g. interrputed process is pinned on its CPU.
> 
> TIA. It seems I'm naive... very...
> 
> Kind Regards,
> TJ

Maybe we can narrow this down a bit: is there something you're trying
to implement using breakpoints, or are you just trying to learn
the code flow?

-Mike

-- 
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to