Skip to content

Commit

Permalink
libbpf: Factor out common ELF operations and improve logging
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Andrii Nakryiko authored and Alexei Starovoitov committed Aug 21, 2020
1 parent 3ac2e20 commit 88a8212
Showing 1 changed file with 206 additions and 161 deletions.
Loading

0 comments on commit 88a8212

Please sign in to comment.