commit | 94a1fedd63edb672933bef44ca9213937e377c05 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Sat Aug 01 18:32:17 2020 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Mon Aug 03 16:39:48 2020 +0200 |
tree | 819907a5a52a2fd723e3995302aa002e6d9fcef4 | |
parent | 041549b7b2c7811ec40e705c439211f00ade2dda [diff] |
libbpf: Add btf__parse_raw() and generic btf__parse() APIs Add public APIs to parse BTF from raw data file (e.g., /sys/kernel/btf/vmlinux), as well as generic btf__parse(), which will try to determine correct format, currently either raw or ELF. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200802013219.864880-2-andriin@fb.com