Perf Proce不适用于我想要的特定事件
我已经编译了获取一些统计信息。我尝试过的是为感兴趣的特定功能设置探针,即kerrbl :: chrostoffel
lib/kerbc.c
。但是,如果我尝试运行
perf Proce -x/usr/local/bin/gyoto -f
无法显示我想要的此特定功能。尝试使用
perf Proce -x/usr/locar/bin/gyoto [args]'kerrbl :: chrostoffel'
引发错误:
The /home/user/Gyoto/bin/gyoto file has no debug information.
Rebuild with -g, or install an appropriate debuginfo package.
Error: Failed to add events.
但是据我所知,我确实启用调试信息在汇编期间。
在此特定情况下,我应该如何正确放置探测器?
I have compiled this open source software and would like to use perf
to get some statistics. What I have tried is setting probes for the specific function of interest, namely KerrBL::chrostoffel
inside lib/KerBC.C
. But if I try running
perf probe -x /usr/local/bin/gyoto -F
Fails to show this specific function that I want. Trying to place a probe with
perf probe -x /usr/local/bin/gyoto [args] 'KerrBL::chrostoffel'
throws the error:
The /home/user/Gyoto/bin/gyoto file has no debug information.
Rebuild with -g, or install an appropriate debuginfo package.
Error: Failed to add events.
But as far as I know, I did enable debug info during compilation.
How should I properly place a probe in this specific case?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论