A guide on how to install Systemtap on an Arch system
See Arch wiki page on systemtap, which may be fresher than these suggestions.
Systemtap package
Get PKGBUILD here: https://gist.github.com/3260352
Kernel support
The generic kernel comes with CONFIG_DEBUG_INFO and CONFIG_KPROBES disabled, so you'll need to recompile it:
- Grab kernel source using ABS (Arch Build System):
$ sudo pacman -S abs $ ABSROOT=. abs sync core/linux
Get PKGBUILD patch: https://gist.github.com/3271302
- Patch and build the kernel:
$ cd core/linux $ patch -p1 < ../../linux-systemtap.patch $ makepkg
- Install all packages:
sudo pacman -U linux-3.4.7-1-x86_64.pkg.tar.xz sudo pacman -U linux-headers-3.4.7-1-x86_64.pkg.tar.xz sudo pacman -U linux-debuginfo-3.4.7-1-x86_64.pkg.tar.xz