1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1评分, 平均分:5.00 )
Loading...

DTrace支持从DWARF数据中获取函数信息

Oracle工程师Alan Coopersmith的社交账号了解到,在最新的Oracle Solaris 11.4中,DTrace可以从DWARF数据中获取函数信息了:

Capture

用户可以使用uresolve选项指定用户地址空间(user address)的格式。当uresolve=basename时,可以把地址和源代码文件以及行号关联起来。这个功能要求在编译程序时指定-g选项,只有这样才会产生DWARF格式的调试信息。具体的描述请参考这里:https://docs.oracle.com/cd/E37838_01/html/E61035/gqsfh.html#scrolltoc

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.