revercc / libbpf-bootstrap-for-android

BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Libbpf-bootstrap for android

Using libbpf-bootstrap to develop and cross-compile the ebpf kernel and user program of arm64 platform using wsl2 on x86_64 machine, libbpf-bootstrap can realize the CO-RE of eBPF.

usage

wsl + vscode + clangd

bcc turns to libbpf's tools

questionable

The executable statically links to the libc.a carried by gcc-aarch64-linux-gnu, which causes some platform-dependent functions in libc.a to not work on android, such as the localtime function in libc