Re: [PATCH bpf-next 0/2] libbpf: make use of BTF through sysfs

2019-08-13 Thread Daniel Borkmann
On 8/13/19 8:54 PM, Andrii Nakryiko wrote: 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

[PATCH bpf-next 0/2] libbpf: make use of BTF through sysfs

2019-08-13 Thread Andrii Nakryiko
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