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
| sudo yum install -y systemtap systemtap-runtime systemtap-devel | |
| sudo yum install kernel-debuginfo kernel-debuginfo-common | |
| sudo yum install yum-utils | |
| debuginfo-install kernel-$(uname -r) | |
| sudo yum install -y kernel-devel-$(uname -r) | |
| sudo yum install -y kernel-debuginfo-$(uname -r) | |
| sudo yum install -y kernel-debuginfo-common-$(uname -m)-$(uname -r) |
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
| #include <iostream> | |
| #include <unistd.h> | |
| #include <cstring> | |
| #include <sys/mman.h> | |
| #include <vector> | |
| #include <thread> | |
| #include <sys/stat.h> | |
| #include <fcntl.h> | |
| #define likely(x) __builtin_expect(!!(x), 1) |