libbpf: convert libbpf code to use new btf helpers
authorAndrii Nakryiko <andriin@fb.com>
Wed, 7 Aug 2019 21:39:49 +0000 (14:39 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 7 Aug 2019 21:43:49 +0000 (14:43 -0700)
commitb03bc6853c0e0c97da842434e8056f1b9d9a1f4a
treeef340b1b00bea3e0349d5ed4dff5bbf8fd054d6d
parentef20a9b27c66278ac2f85006db8ea11d5f61a781
libbpf: convert libbpf code to use new btf helpers

Simplify code by relying on newly added BTF helper functions.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/btf.c
tools/lib/bpf/btf_dump.c
tools/lib/bpf/libbpf.c