diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-06-17 12:26:53 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-18 00:10:39 +0200 |
commit | bf82927125dd25003d76ed5541da704df21de57a (patch) | |
tree | 991f621f7ec18f306ed65911d89212b007c8cbf0 /tools/testing/selftests/bpf/test_queue_stack_map.h | |
parent | 01b29d1dc9a06e2cdc6a0172d35605eb0300ecb2 (diff) | |
download | linux-bf82927125dd25003d76ed5541da704df21de57a.tar.bz2 |
libbpf: refactor map initialization
User and global data maps initialization has gotten pretty complicated
and unnecessarily convoluted. This patch splits out the logic for global
data map and user-defined map initialization. It also removes the
restriction of pre-calculating how many maps will be initialized,
instead allowing to keep adding new maps as they are discovered, which
will be used later for BTF-defined map definitions.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_queue_stack_map.h')
0 files changed, 0 insertions, 0 deletions