On Wed, Mar 25, 2020 at 11:39 AM <[email protected]> wrote: > > Take a closer look. libbpf-tools do not use bpf_load.h, that one is > deprecated and its use is discouraged. libbpf-tools rely on > code-generated BPF skeleton. But really, get a close look at > libbpf-tools, it has everything you need to get started. > > > Will do. Does this mean that, going forward, BPF development will be > encouraged to use kernels compiled with "CONFIG_DEBUG_INFO_BTF=y"? I've been > using a default build up to now.
Yes. A lot of newer functionality relies on kernel BTF as well. But to compile portable BPF program you also need kernel BTF (for BPF CO-RE stuff). > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1835): https://lists.iovisor.org/g/iovisor-dev/message/1835 Mute This Topic: https://lists.iovisor.org/mt/72496365/21656 Group Owner: [email protected] Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
