| Filename | Latest commit message | Latest commit date |
|---|---|---|
This implements the bare minimum to read from BPF ring buffers in userspace. The implementation uses two shared memory regions with atomic-like access. Currently, the class only guarantees that the element type has the same size (later can add btf support). The alternative would be to use libbpf or bcc, but since this is a small header-only library that seemed like it could end up being more difficulty than it was worth. Bug: 246985031 Test: atest libbpf_android_test Change-Id: I7f08e76db9cb9672ef66c629bccb3db63d3c2229 |
||
| .. | ||
| include/bpf | ||
| Android.bp | ||
| BpfMapTest.cpp | ||
| BpfRingbufTest.cpp | ||
| TEST_MAPPING | ||