centos how to install systemtap
- by Mingfei.hua
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")