]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8569c912cba61f7a0854e95e638d4473ed897c7
treee2b99905083d68668279be7f4bfc94e711708d04
parent402288a02a74581132d0df9c30faaac60b97f975
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