centos how to install systemtap
Posted
by
Mingfei.hua
on Server Fault
See other posts from Server Fault
or by Mingfei.hua
Published on 2012-08-31T07:58:37Z
Indexed on
2012/08/31
9:40 UTC
Read the original article
Hit count: 380
I'm really new to sysmtemtap. just want to install and try systemtap on my lab server. My Linux release version is centos 6.3 and kernel version 2.6.32-279.5.2.el6.i686. I followed some doument, do
yum install kernel-devel
yum install kernel-debuginfo
yum install systemtap
all completed without error or warning. but when I try to test systemtap by
stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
I got error
Pass 1: parsed user script and 83 library script(s) using 25180virt/14088res/2684shr kb, in 120usr/10sys/161real ms.
semantic error: missing i386 kernel/module debuginfo under '/lib/modules/2.6.32-279.5.2.el6.i686/build' while resolving probe point kernel.function("vfs_read")
© Server Fault or respective owner