This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
problem in running systemtap
- From: ch huang <justlooks at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 2 Mar 2012 10:28:27 +0800
- Subject: problem in running systemtap
- Authentication-results: mr.google.com; spf=pass (google.com: domain of justlooks@gmail.com designates 10.224.96.9 as permitted sender) smtp.mail=justlooks@gmail.com; dkim=pass header.i=justlooks@gmail.com
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)\", "