Re: [PATCH bpf-next 0/3] Add new-style bpf_object__open APIs

2019-10-03 Thread Andrii Nakryiko
On Thu, Oct 3, 2019 at 10:29 PM Andrii Nakryiko wrote: > > Add bpf_object__open_file() and bpf_object__open_mem() APIs that use a new > approach to providing future-proof non-ABI-breaking API changes. It relies on > APIs accepting optional self-describing "opts" struct, containing its own > size,

[PATCH bpf-next 0/3] Add new-style bpf_object__open APIs

2019-10-03 Thread Andrii Nakryiko
Add bpf_object__open_file() and bpf_object__open_mem() APIs that use a new approach to providing future-proof non-ABI-breaking API changes. It relies on APIs accepting optional self-describing "opts" struct, containing its own size, filled out and provided by potentially outdated (as well as newer-