problem in running systemtap

ch huang justlooks@gmail.com
Fri Mar 2 02:28:00 GMT 2012


i compile and install the systemtap on CentOS5.7
# uname -r
2.6.18-274.17.1.el5

# yum list kernel-devel
kernel-devel.x86_64
             2.6.18-274.18.1.el5
                          installed

and make soft link on kernel-devel

# ls /usr/src/kernels/ -l
total 4
lrwxrwxrwx  1 root root   26 Mar  1 14:23 2.6.18-274.17.1.el5-x86_64
-> 2.6.18-274.18.1.el5-x86_64
drwxr-xr-x 19 root root 4096 Mar  1 11:23 2.6.18-274.18.1.el5-x86_64

here is debuginfo package i installed

# rpm -qa|grep debuginfo
kernel-debuginfo-2.6.18-274.el5
kernel-debuginfo-common-2.6.18-274.el5

and i modified the file translate.cxx to avoid the problem of release test

1 1540   o->newline() << "if (0 && strcmp (release, "
2 1541                << lex_cast_qstring (session->kernel_release) << ")) {";
3 1542   o->newline(1) << "_stp_error (\"module release mismatch (%s vs %s)\", "



More information about the Systemtap mailing list