diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-08-01 18:32:17 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-08-03 16:39:48 +0200 |
commit | 94a1fedd63edb672933bef44ca9213937e377c05 (patch) | |
tree | 819907a5a52a2fd723e3995302aa002e6d9fcef4 /tools/wmi | |
parent | 041549b7b2c7811ec40e705c439211f00ade2dda (diff) | |
download | lwn-94a1fedd63edb672933bef44ca9213937e377c05.tar.gz lwn-94a1fedd63edb672933bef44ca9213937e377c05.zip |
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
Diffstat (limited to 'tools/wmi')
0 files changed, 0 insertions, 0 deletions