xdp-project/bpf-examples
소개
빌드 환경과 예제를 통해 eBPF 프로그래밍을 더 쉽게 만듭니다
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPractical BPF examples
This git repository contains a diverse set of practical BPF examples that solve (or demonstrate) a specific use-case using BPF.
It is meant to ease doing rapid prototyping and development, writing C-code BPF programs using libbpf. The goal is to make it easier for developers to get started coding.
Many developers struggle to get a working BPF build environment. The repo enviroment makes it easy to build/compile BPF programs by doing the necessary libbpf setup transparently and detect missing compile dependencies (via the configure script). It is a declared goal to make BPF programming more consumable by detecting and reporting issues (when possible).
Missing clang errno support
If you get the following output from configure:
clang errno support: no - some examples will fail and won't be compiled from the top-level Makefile. See README.md.
This means that you are missing a header file that is included in a 32-bit architecture header file. Some of the examples in the repository will compile fine without this header file. The build system will automatically exclude the examples that require the header from the build if the header is missing. Manually compiling the utilities excluded will fail in this case.
To fix the error:
- On Fedora install:
- dnf install glibc-devel.i686
- On Debian install:"
- apt install libc6-dev-i386
관련 프로젝트 살펴보기
불러오는 중…