Created
November 9, 2018 11:23
-
-
Save lrascao/0f5c40d208e45d5afa84896e7662dfa6 to your computer and use it in GitHub Desktop.
Set up System Tap on EC2 Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup | |
uname -r # gives you kernel version | |
sudo yum install kernel-devel-<kernel version> | |
sudo debuginfo-install kernel-<kernel version> | |
sudo yum install systemtap | |
# Preliminary testing | |
sudo stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment