Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
use kernel libbpf in bcc #2149
The kernel tools/lib/bpf implements some core bpf related functionality, prog/map loading, probing, btf etc.. The kernel/lib/bpf code has been mirrored at https://github.com/libbpf/libbpf.
This pull request brought libbpf mirror into bcc, as a git submodule, in src/cc/libbpf directory.
This pull request reimplemented bcc_create_map using libbpf bpf_create_map and bpf_create_map_name functions. In the future, more bcc functions can be converted to use
To facilitate review, there are total 5 commits for this pull request:
All tests failed. In my local setup, I see
The jenkins testbot failed the checkout with error message,
Not sure what is the issue here.
now all tests passed.
due to name conflicts with libbpf repo?