blob: 758eef488666e9b9a361dce7561b4601dd9abf1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# ioriotng
I/O Riot NG is a a experiments with BPF.
Maybe a spiritual successor of one of my previous projects, I/O Riot https://codeberg.org/snonux/ioriot, the latter was based on SystemTap and C. The NG is based on BPF (via libbpfgo).
## Fedora
To get this running on Fedora 39, run:
```shell
sudo dnf install zlib-static glibc-static libzstd-static
```
Need libelf static, which isn't in any repos. So we need to compile it ourselves.
```
sudo dnf groupinstall "Development Tools"
sudo dnf install rpmdevtools dnf-utils
dnf download --source elfutils-libelf
rpm -ivh elfutils-*.src.rpm
cd ~
sudo dnf builddep rpmbuild/SPECS/*.spec
cd ~/rpmbuild/SPECS
rpmbuild -ba *.spec
mkdir ~/src
tar -xvjpf ~/rpmbuild/SOURCES/elfutils-*.tar.bz2
cd ~/src/elfutils-*
./configure
make
sudo cp -v ./libelf/libelf.a /usr/lib64/
```
|