libbpf: switch btf_dedup() to hashmap for dedup table
authorAndrii Nakryiko <andriin@fb.com>
Fri, 24 May 2019 18:59:02 +0000 (11:59 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 24 May 2019 21:05:58 +0000 (14:05 -0700)
commit2fc3fc0bcdcc5429947d1e5ed8f6f0a77ba80997
tree939643d9e52c39e7846cc053caddc95c69be7f7c
parent5d04ec687cf98bc6e8073c646994736a46ed4e24
libbpf: switch btf_dedup() to hashmap for dedup table

Utilize libbpf's hashmap as a multimap fof dedup_table implementation.

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