Chinaunix首页 | 论坛 | 博客
  • 博客访问: 353927
  • 博文数量: 77
  • 博客积分: 1447
  • 博客等级: 中尉
  • 技术积分: 885
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-21 21:48
文章分类

全部博文(77)

文章存档

2021年(2)

2020年(2)

2016年(3)

2015年(1)

2014年(4)

2013年(1)

2012年(23)

2011年(15)

2010年(26)

分类:

2010-04-08 21:14:47

   在安装systemtap需要准备两个关键的程序包elfutils与systemtap,在安装之两个程序之前需要先将kernel_devel,kernel_debuginfo之类准备好。请看如下说明(取自systemtap的README):

Prerequisites:
- linux kernel with kprobes (mainline 2.6.11+ or backport)
- kernel module build environment (kernel-devel rpm)
- kernel debugging information (kernel-debuginfo rpm)
- C compiler (same as what kernel was compiled with)
- elfutils with libdwfl for debugging information parsing
- root privileges

elfutils的源码下载位置(2010-04-08有效):  
systemtap的源码下载位置(2010-04-08有效):

我下载了其中的elfutils-0.145.tar.bz2, systemtap-20100403.tar.bz2两个包。

安装步骤如下:
1、将解压后的两个包放在/root/systemtap子目录下。
2、在/root/systemtap/systemtap-20100403/src/ 下,以root用户输入如下命令:
./configure --with-elfutils=/root/systemtap/elfutils-0.145/  --prefix=/usr/bin/systemtap
3、make
4、make install



阅读(957) | 评论(0) | 转发(0) |
0

上一篇:rmmod

下一篇:e1000e

给主人留下些什么吧!~~