Skip to content

Commit bf5b9a5

Browse files
committed
add kernel libbpf as a submodule
The kernel libbpf library https://github.com/torvalds/linux/tree/master/tools/lib/bpf provides common functionality for handling bpf programs, maps, ELF parsing, probing, BTF manipulation, etc. The library has been recommended to the community as a common library for bpf/btf handling. A separate repository https://github.com/libbpf/libbpf has been created for this purpose. This patch brings in libbpf to bcc. The following command is executed to crate a libbpf submodule at src/cc/libbpf: git submodule add https://github.com/libbpf/libbpf.git src/cc/libbpf Signed-off-by: Yonghong Song <[email protected]>
1 parent dd13242 commit bf5b9a5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/cc/libbpf"]
2+
path = src/cc/libbpf
3+
url = https://github.com/libbpf/libbpf.git

src/cc/libbpf

Submodule libbpf added at d5b146f

0 commit comments

Comments
 (0)