Eric Schrock writes:
 > 
 > The ACT tools are only available internally to Sun.  I don't know of any
 > plans to make them publicly available, but there should be...

Darn, that's too bad..

 > > Does anybody know where/how to get an mdb with the act_thread dcmd?
 > > I apologize in advance if this is a dumb question -- I'm pretty new
 > > to Solaris & debugging with mdb.
 > 
 > No problem.  Finding arguments on amd64 is a pain.  We have been working
 > with the Sun Studio and GCC folks to create an option to always push
 > arguments to the stack a la 32-bit x86, as well as the associated MDB
 > changes to grab this information.  This will be available soon.  We're
 > also working on a programmatic method of disassembling the text and
 > deriving the original arguments.

The programmatic method sounds nice.  It sounds like what I assumed
ACT must be doing.   

How much performance penalty will always pushing the arguments to the
stack bring?  Will the kernel be compiled with this option, or 
will you have a separate "checked build" sort of kernel that
developers can boot when they are tracking down problems?

BTW, thanks for outlining the method for getting function arguments
in your blog.  I'm hoping I won't need it ;)

Thanks,

Drew

Reply via email to