mirror of
https://github.com/netdata/ebpf-co-re.git
synced 2026-01-20 15:31:51 +01:00
No description
- C 99.5%
- Shell 0.3%
- Makefile 0.2%
| .dockerfiles | ||
| .github | ||
| artifacts | ||
| includes | ||
| kernel-collector@7c82e2158e | ||
| libbpf@5acba1722d | ||
| src | ||
| tools | ||
| .gitignore | ||
| .gitmodules | ||
| .yamllint.yml | ||
| build.sh | ||
| Dockerfile.glibc.core | ||
| Makefile | ||
| README.md | ||
Linux Kernel eBPF CO-RE
Directory structure
The respository has the following directory structure:
artifacts: directory that will have the eBPF programs when the compilation process ends.includes: headers used to compileeBPF.plugin.kernel-collector: this is a submodule'd fork of netdata/libbpf.libbpf: this is a submodule'd fork of netdata/libbpf which is itself a fork of the officiallibbpfpackage, the user-space side of eBPF system calls.
Requirements
Packages
To compile the eBPF CO-RE, it will be necessary to have the following packages:
- libelf headers
- LLVM/Clang; this is because GCC prior to 10.0 cannot compile eBPF code.
bpftool: used to generate source codes.
Initializing Submodules
libbpf directory is included as a git submodule and it is necessary to fetch contents with the git command below:
git submodule update --init --recursive