Guru Mode
systemtap support user write script in raw c language, which is called guru mode.
When invoke a script in guru mode, -g option should be passed.
For more information, please refer to RHEL Embedded C and Embedded C exapmle
Task Info
Hijack kernel
Guru mode is so powerful that even you could modify the behavior of kernel on the fly.
Here is an example to change 'm' to 'b' when you type on keyboard. Copied from How to Monkey-Patch the Linux Kernel with little modification.
After doing so, you could never type 'm'.
Last updated