commit | 291ee02b5e407eb1eb99c9eeaa968ef8a0c16949 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Tue Oct 15 11:28:46 2019 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Oct 15 16:06:05 2019 -0700 |
tree | 9b8e63970154c0b3e91fc80fa1f62033d58b453a | |
parent | 511bb0085c6fe48353c35cd3d25f4f8720579a6d [diff] |
libbpf: Refactor bpf_object__open APIs to use common opts Refactor all the various bpf_object__open variations to ultimately specify common bpf_object_open_opts struct. This makes it easy to keep extending this common struct w/ extra parameters without having to update all the legacy APIs. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191015182849.3922287-3-andriin@fb.com