libbpf: Extract internal map names into constants
authorAndrii Nakryiko <andriin@fb.com>
Sat, 14 Dec 2019 01:47:07 +0000 (17:47 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 16 Dec 2019 00:41:12 +0000 (16:41 -0800)
commitac9d1389631a4bee0df47e50d6bee8b94230759d
treee2b99905083d68668279be7f4bfc94e711708d04
parentf7c0bbf27ec699ec6462751f5e5450c38be4c980
libbpf: Extract internal map names into constants

Instead of duplicating string literals, keep them in one place and consistent.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191214014710.3449601-2-andriin@fb.com
tools/lib/bpf/libbpf.c