https://github.com/eadydb/ebpf-learning
ebpf learning examples
https://github.com/eadydb/ebpf-learning
Last synced: about 2 months ago
JSON representation
ebpf learning examples
- Host: GitHub
- URL: https://github.com/eadydb/ebpf-learning
- Owner: eadydb
- License: apache-2.0
- Created: 2024-01-17T01:17:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T15:43:52.000Z (over 1 year ago)
- Last Synced: 2024-10-19T22:59:57.306Z (over 1 year ago)
- Language: C
- Size: 2.19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ebpf-learning
CLI tool for eBPF application development
## Initial setup
If you are new here and setting up the bpf environment for the first time then follow the below steps,
1. Install make
`sudo apt install make`
2. Install the pre-requisites, clang, llvm, golang and bpftool
`sudo make install`
3. Reload your shell to identify the go binary in the path
`source $HOME/.profile`
4. Generate the vmlinux.h for extracting the definition of every type in the current running kernel
`make gen_vmlinux`