Differences between revisions 1 and 2
Revision 1 as of 2012-08-06 06:28:19
Size: 773
Editor: IlyaVoronin
Comment:
Revision 2 as of 2014-05-17 15:41:29
Size: 907
Editor: FChE
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

See [[https://wiki.archlinux.org/index.php/SystemTap|Arch wiki page on systemtap]], which may be fresher than these suggestions.

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

None: SystemtapOnArch (last edited 2014-05-17 15:41:29 by FChE)