https://github.com/fbs/el7-bpf-specs
2024-04-28 18:15:43
GitHub - fbs/el7-bpf-specs: RPM specs for building bpf related tools on CentOS 7https://github.com/fbs/el7-bpf-specs
目录
ebpf-specs
Repository
Daily
Stable releases
bpftrace
BCC
Building
ebpf-specs
Status: Stable
A collection of rpm specs to build eBPF related tools on Centos 7. All tools are available as static binaries to remove the potential runtime dependencies on the used GCC and LLVM/Clang versions
Available tools:
- bcc
- bpftrace
- bpftool
Repository
Daily
Daily bpftrace builds are available: Index of /rhel/7/bpftrace-daily/
Install
curl https://repos.baslab.org/rhel/7/bpftrace-daily/bpftrace-daily.repo --output /etc/yum.repos.d/bpftools.repo
curl https://repos.baslab.org/rhel/7/bpftools/bpftools.repo --output /etc/yum.repos.d/bpftrace-daily.repo
yum install bpftrace bpftrace-tools bpftrace-doc
Note that this only tracks bpftrace, the bpftools repo is still required for bcc&bpftool
Stable releases
The repository available at Index of /rhel/7/bpftools/ tracks offical bpftrace & bcc releases
Install:
curl https://repos.baslab.org/rhel/7/bpftools/bpftools.repo --output /etc/yum.repos.d/bpftools.repo
yum install bpftrace bpftrace-tools bpftrace-doc bcc-static bcc-tools
bpftrace
Tools: