]> 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)
commita24a882e157299929feada12250d24d9f3bcd3c3
treee2b99905083d68668279be7f4bfc94e711708d04
parentf177b2eac86f9db047723be003ba7c7652d22c11
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