OSDN Git Service

Merge branch 'bpf-libbpf-read-sysfs-btf'
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 13 Aug 2019 21:19:42 +0000 (23:19 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 13 Aug 2019 21:19:42 +0000 (23:19 +0200)
commit72ef80b5ee131e96172f19e74b4f98fa3404efe8
tree5534805c878ae24eb57d84b6d784c1f6f4b4cd7c
parent9840a4ffcf0b26e08472ed53d176a6a0f1d4c498
parenta1916a153c254cd0ad13b23bed262ed56922cc7a
Merge branch 'bpf-libbpf-read-sysfs-btf'

Andrii Nakryiko says:

====================
Now that kernel's BTF is exposed through sysfs at well-known location, attempt
to load it first as a target BTF for the purpose of BPF CO-RE relocations.

Patch #1 is a follow-up patch to rename /sys/kernel/btf/kernel into
/sys/kernel/btf/vmlinux.

Patch #2 adds ability to load raw BTF contents from sysfs and expands the list
of locations libbpf attempts to load vmlinux BTF from.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>