简体   繁体   English

perf顶视图拆卸,无符号(带二进制剥离)

[英]perf top view disassembly without symbol (with stripped binary)

I'm trying to use Linux perf to do some performance analysis. 我正在尝试使用Linux性能来进行一些性能分析。 I have an application that is built with symbols stripped, and I was surprise that Linux perf top could not display the disassmbly line. 我有一个构建的带有剥离符号的应用程序,但令我惊讶的是Linux性能顶部无法显示该行。 It only displayed the raw EIP. 它仅显示原始EIP。

How do we map the performance event back to raw assembly line without symbol info? 我们如何将性能事件映射回没有符号信息的原始装配线?

maybe you can try this: 1) add '-g' in Makefile; 也许您可以尝试:1)在Makefile中添加'-g'; 2) use "objdump" to dump out the mixture of source code and asm. 2)使用“ objdump”转储源代码和asm的混合物。

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

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