commit | 88a82120282bdef4c331e20991e3057f417beae4 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Thu Aug 20 16:12:36 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Aug 21 15:40:22 2020 -0700 |
tree | 72be2dc690af608389a303cf8694fdaab98a694e | |
parent | 3ac2e20fba07e57cd229091a568ac14a5434e6bb [diff] |
libbpf: Factor out common ELF operations and improve logging Factor out common ELF operations done throughout the libbpf. This simplifies usage across multiple places in libbpf, as well as hide error reporting from higher-level functions and make error logging more consistent. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200820231250.1293069-3-andriin@fb.com