mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-29 12:49:07 +08:00
add a simple Makefile to build and clean up
add missing macros, static inline functions, etc. add README to illustrate the purpose of this repo. Signed-off-by: Yonghong Song <yhs@fb.com>
This commit is contained in:
21
README
Normal file
21
README
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user