mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-22 09:19:06 +08:00
add missing macros, static inline functions, etc. add README to illustrate the purpose of this repo. Signed-off-by: Yonghong Song <yhs@fb.com>
22 lines
680 B
Plaintext
22 lines
680 B
Plaintext
|
|
This is a mirror of bpf-next linux tree
|
|
(https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next)
|
|
bpf-next/tools/lib/bpf directory plus its supporting header files.
|
|
|
|
The following files will by sync'ed with bpf-next repo:
|
|
src/ <-> bpf-next/tools/lib/bpf/
|
|
include/uapi/linux/{bpf.h,btf.h} <-> bpf-next/tools/include/uapi/linux/{bpf.h,btf.h}
|
|
include/tools/libc_compat.h <-> bpf-next/tools/include/tools/libc_compat.h
|
|
|
|
Other header files at this repo (include/linux/*.h) are reduced versions of
|
|
their counterpart files at bpf-next/tools/include/linux/*.h to make compilation
|
|
successful.
|
|
|
|
Build
|
|
=====
|
|
|
|
To build,
|
|
cd src
|
|
make
|
|
and it will build libbpf.a library
|