cd /tmp
mkdir systemtap
cd systemtap/
git clone git://sourceware.org/git/systemtap.git
git clone https://git.fedorahosted.org/git/elfutils.git
cd elfutils
autoheader
aclocal -I m4
autoconf
automake -a -c
cd ../systemtap/
./configure --with-elfutils=/tmp/systemtap/elfutils
会出现configure: Running systemtap uninstalled, entirely out of the build tree,
configure: is not supported.
apt-get install flex bison
make
make install
编译成功后执行 stap -ve 'probebegin { log("hello world") exit() }'
如果能打印出helloworld则认为基本功能OK。