https://github.com/krishanthisera/ebpf-101
https://github.com/krishanthisera/ebpf-101
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/krishanthisera/ebpf-101
- Owner: krishanthisera
- Created: 2024-08-02T05:40:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-22T02:55:54.000Z (6 months ago)
- Last Synced: 2025-01-07T11:49:55.650Z (5 months ago)
- Language: Python
- Size: 4.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eBPF 101
The repository contains the learning materials for eBPF 101 presentation.
## Environment setup
Required packages: clang, llvm, libelf-dev, libpcap-dev, build-essential, make, linux-tools-common, gcc-multilib, libbpf-dev, python3
To install the required packages:
```bash
apt install -y clang \
llvm \
libelf-dev \
libpcap-dev \
build-essential \
make \
linux-tools-common
```**Note:** `gcc-multilib` is not currently available for ARM architectures. Instead, add `/usr/include/$(shell uname -m)-linux-gnu` into the include path. For more information, see [this thread](https://patchwork.ozlabs.org/project/netdev/patch/[email protected]/).
```bash
apt install -y gcc-multilib libbpf-dev
```## Acknowledgement
- [Learning eBPF](https://isovalent.com/books/learning-ebpf/1098135121) by Liz Rice.
- [Diogo Daniel's blog article](https://diogodanielsoaresferreira.github.io/ebpf/)
- [Brendan Gregg's blog article](http://www.brendangregg.com/blog/2019-01-01/learn-ebpf-tracing.html)