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)
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>

Trivial merge