On Sun, Feb 03, 2008 at 08:52:04PM -0800, Tiller Beauchamp wrote:
> Hi All,
> 
> Is there a way to resolve symbols in dtrace, like the ustack() does, but
> with my own addresses?  I've recorded a list of addresses, which are
> previous PC values (uregs[R_PC]) and I would like to print them as resolved
> symbols.  Is this possible?
> 
> Thanks,
> 
> .tiller

usym() traces the string symbol+offset of a given user address.
printf("%A") can also be used for formatting user symbols.

-Mike

-- 
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to