请教性能调优工具systemtap安装时遇到的debuginfo内核安装问题

oywoywoyw 2015-11-16 11:02:35
1.安装完systemtap后执行测试用例报错,网上查了下应该是debuginfo内核没安装
linux:/home/soft/SystemTap # /home/soft/SystemTap/bin/stap /home/soft/systemtap-1.1/testsuite/systemtap.examples/io/traceio.stp
semantic error: missing x86_64 kernel/module debuginfo under '/lib/modules/3.0.101-0.47.52-default/build' while resolving probe point kernel.function("vfs_read").return
semantic error: no match while resolving probe point vfs.read.return
semantic error: missing x86_64 kernel/module debuginfo under '/lib/modules/3.0.101-0.47.52-default/build' while resolving probe point kernel.function("vfs_write").return
semantic error: no match while resolving probe point vfs.write.return
Pass 2: analysis failed. Try again with another '--vp 01' option.

2.工作的linux服务器不能用网上的教程直接在线安装,想请教下如何离线安装?

3.问过其他同事,说可以自己用内核代码编译,请问如何入手?我需要看什么资料?
...全文
459 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
nswcfd 2015-11-19
  • 打赏
  • 举报
回复
找特定版本的kernel debuginfo的确比较麻烦,不同发行版的config之间可存在差异。 有RH的,先试试再说吧。 Ubuntu的可以在http://ddebs.ubuntu.com/pool/main/l/linux/里找
oywoywoyw 2015-11-16
  • 打赏
  • 举报
回复
是 kernel-debuginfo这个rpm包没安装,但是找不到这个操作系统的包,能用redhat么?

4,465

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧