Oct 25, 2017

SystemTap is a tool designed to allow you to probe the Linux kernel for debugging purposes.

It lets you hook any kernel function (yes, any C function defined anywhere in the kernel) and log the argument values, or other system state. Scripts are written in a special language designed to prevent you from doing anything that could break your system.