diff options
| author | Andrii Nakryiko <[email protected]> | 2019-06-17 12:26:52 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-06-18 00:10:39 +0200 |
| commit | 01b29d1dc9a06e2cdc6a0172d35605eb0300ecb2 (patch) | |
| tree | 32c3601baec04859f7cf3722b39c61b4434e1016 /tools/perf/scripts/python/bin | |
| parent | 9c6660d0406f8c32d21957ca9853108513bea8b1 (diff) | |
libbpf: streamline ELF parsing error-handling
Simplify ELF parsing logic by exiting early, as there is no common clean
up path to execute. That makes it unnecessary to track when err was set
and when it was cleared. It also reduces nesting in some places.
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions