简体   繁体   English

Shark不显示函数名称

[英]Shark does not show function names

I want to use shark to profile my application(I used it before and it worked fine), but now it does not show any function name. 我想使用shark来分析我的应用程序(我以前使用过它,并且工作正常),但是现在它不显示任何函数名。 I have only Unknown Library and address[unknown] in symbol column. 我在符号列中只有未知库和地址[未知]。 Some project parts are static libraries(compiled and linked in same project, with debug symbols on). 一些项目部分是静态库(在同一项目中编译和链接,并带有调试符号)。 Function names from standard lib or from other framework are shown. 显示了来自标准库或其他框架的函数名称。

Thanks for help! 感谢帮助!

Did you compile with debug symbols activated? 您在激活调试符号的情况下进行编译吗? Release builds have the symbols stripped and hence shark cannot show them. 发布版本的符号被剥夺,因此鲨鱼无法显示它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM