DTrace, SystemTap has several front-end tools with different capabilities:* `stapio` is a consumer which runs module and prints information from its b...
分类:
其他好文 时间:
2015-09-12 18:55:08
阅读次数:
322
1.[root@localhost ~]# rpm -qi glibcName : glibc Relocations: (not relocatable)Version : 2.5 Vendor: CentOSRelease : 123.el5_11.1 Build Date: Tue 27 Ja...
分类:
其他好文 时间:
2015-09-10 19:10:45
阅读次数:
170
一、简介 二、安装 参考: http://www.cnblogs.com/wangkangluo1/archive/2012/06/26/2562971.html 1、查看内核版本 uname -a 2、安装systemtap yum install -y systemtap 3、安装kernel-...
分类:
其他好文 时间:
2015-06-21 14:24:05
阅读次数:
183
install systemtap under centos...
分类:
其他好文 时间:
2015-06-17 18:19:36
阅读次数:
151
安装与配置在ubuntu下直接用apt-get install之后不能正常使用,提示缺少调试信息或者编译探测代码时有问题。1. 采用官网上的解决方法2. 可以自己重新编译一次内核,然后再手工编译一次systemtap。这样就可以正常使用了。Systemtap的编译说明,除了下载地址并没有说太多东西。...
分类:
系统相关 时间:
2015-05-18 18:30:05
阅读次数:
346
安装
sudo apt-get install build-essential
sudo apt-get install elfutils
sudo apt-get install libdw-dev
wget wget https://sourceware.org/systemtap/ftp/releases/systemtap-2.4.tar.gz
tar -xzvf systemt...
分类:
其他好文 时间:
2014-12-22 19:39:22
阅读次数:
185
SystemTap脚本主要是由探测点和探测点处理函数组成的,来看下都有哪些探测点可用。
The essential idea behind a systemtap script is to name events, and to give them handlers.
Systemtap works by translating the script to C, running the system C compiler to create a kernel module from that.
When t...
分类:
其他好文 时间:
2014-06-07 01:59:08
阅读次数:
369
SystemTap是我目前所知的最强大的内核调试工具,有些家伙甚至说它无所不能:)
Debuted in 2005 in Red Hat Enterprise Linux 4 Update 2 as a technology preview.
After four years in development, System 1.0 was released in 2009.
As of 2011 SystemTap runs fully supported in all Linux distributions...
分类:
其他好文 时间:
2014-06-05 12:35:09
阅读次数:
280
SystemTap探测用户空间程序需要utrace的支持,3.5以上的内核版本默认支持。
对于3.5以下的内核版本,需要自己打相关补丁。
SystemTap还有一些高级功能,比如自建脚本库、探测点重命名、嵌入C代码等。
最后本文简单介绍下SystemTap的实现原理。...
分类:
其他好文 时间:
2014-06-05 10:04:22
阅读次数:
407
【摘要】本文主要介绍在ubuntu平台 + 自定义内核上如何安装systemtap工具包及解决编译加载运行过程中的一些问题,如何利用systemtap工具监测分析内核函数,内核模块及用户态程序。
【关键字】ubuntu, systemtap, utrace, backtrace, dtrace, callstack...
分类:
系统相关 时间:
2014-05-07 06:34:57
阅读次数:
1598