1The libbpf directory is a git submodule for repository 2 https://github.com/libbpf/libbpf 3 4If you have any change in libbpf directory, please upstream to linux 5first as libbpf repo is a mirror of linux/tools/lib/bpf directory. 6 7If any top-commit update of libbpf submodule contains a uapi header 8change, the following are necessary steps to sync properly with 9rest of bcc: 10 1. sync compat/linux/virtual_bpf.h with libbpf/include/uapi/linux/bpf.h 11 as virtual_bpf.h has an extra string wrapper for bpf.h. 12 2. if new bpf.h has new helpers, add corresponding helper func define 13 in bcc:src/cc/export/helpers.h and helper entry for error reporting 14 in bcc:src/cc/libbpf.c. 15 3. if new bpf.h has new map types, program types, update 16 bcc:introspection/bps.c for these new map/program types. 17