3. SystemTap and Erlang/OTP

3 SystemTap and Erlang/OTP

3.1 Introduction

SystemTap is DTrace for Linux. In fact Erlang's SystemTap support is build using SystemTap's DTrace compatibility's layer. For an introduction to Erlang DTrace support read $ERL_TOP/HOWTO/DTRACE.md.

3.2 Requisites

  • Linux Kernel with UTRACE support

    check for UTRACE support in your current kernel:

    # grep CONFIG_UTRACE /boot/config-`uname -r`
    CONFIG_UTRACE=y
    

    Fedora 16 is known to contain UTRACE, for most other Linux distributions a custom build kernel will be required. Check Fedora's SystemTap documentation for additional required packages (e.g. Kernel Debug Symbols)

  • SystemTap > 1.6

    A the time of writing this, the latest released version of SystemTap is version 1.6. Erlang's DTrace su